metaweather.weather.weatherState

Description

Returns the weather state for a specified location and date

Arguments

NameRequired?Default ValueDescription
locationidYesID of the location you want data on
dateToday's date (GMT)Date you require the data for

Response

Live Example

Key used is not shown in example request. You can get your own to make requests here. Some information is withheld in these public examples, to protect the innocent.

http://www.metaweather.com/api/rest/?method=metaweather.weather.weatherState&locationid=3&date=2005-12-31

<?xml version="1.0" encoding="utf-16"?>
<response status="ok">
  <info>
    <method>metaweather.weather.weatherState</method>
    <server type="web">bruce</server>
    <server type="db">terry</server>
    <timeTaken>0</timeTaken>
    <generatedTime>10/09/2010 17:00:48</generatedTime>
  </info>
  <data>
    <weatherState>
      <long />
      <short />
    </weatherState>
  </data>
</response>

Schema

Coming soon!