metaweather.weather.lastUpdated
Description
Gets the last updated date for the whole site, or optionally a specific location, source or both.
Arguments
| Name | Required? | Default Value | Description |
|---|---|---|---|
| sourceid | Gets the last updated time for a specific source | ||
| locationid | Gets the last updated time for a specific location |
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.lastUpdated&locationid=3&sourceid=1
<?xml version="1.0" encoding="utf-16"?>
<response status="ok">
<info>
<method>metaweather.weather.lastUpdated</method>
<server type="web">bruce</server>
<server type="db">terry</server>
<timeTaken>0</timeTaken>
<generatedTime>07/09/2010 00:26:46</generatedTime>
</info>
<data>
<lastUpdated>2009-07-07 00:15:01</lastUpdated>
</data>
</response>
Schema
Coming soon!
