metaweather.weather.getInfo

Description

Returns all the weather information 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.getInfo&locationid=3&date=2005-12-31

<?xml version="1.0" encoding="utf-16"?>
<response status="ok">
  <info>
    <method>metaweather.weather.getInfo</method>
    <server type="web">bruce</server>
    <server type="db">terry</server>
    <timeTaken>0</timeTaken>
    <generatedTime>07/09/2010 00:40:11</generatedTime>
  </info>
  <data>
    <weatherState>
      <long />
      <short />
    </weatherState>
    <temperature>
      <c>
        <min>3</min>
        <max>8</max>
        <the>8</the>
      </c>
      <f>
        <min>38</min>
        <max>46</max>
        <the>46</the>
      </f>
    </temperature>
    <lastUpdated>2009-07-07 00:15:01</lastUpdated>
    <wind>
      <speed>
        <mph>15</mph>
        <kph>25</kph>
      </speed>
      <dir>
        <degrees>15</degrees>
        <compass>nne</compass>
      </dir>
    </wind>
    <humidity>86</humidity>
    <visability>
      <m>8</m>
      <k>12</k>
    </visability>
    <predictability>90</predictability>
  </data>
</response>

Schema

Coming soon!