metaweather.location.getInfo
Description
Returns various non-weather information on a location.
Arguments
| Name | Required? | Default Value | Description |
|---|---|---|---|
| locationid | Yes | The ID of the location you want data on |
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.location.getInfo&locationid=3
<?xml version="1.0" encoding="utf-16"?>
<response status="ok">
<info>
<method>metaweather.location.getInfo</method>
<server type="web">bruce</server>
<server type="db">terry</server>
<timeTaken>0</timeTaken>
<generatedTime>07/09/2010 00:32:08</generatedTime>
</info>
<data>
<name>London</name>
<hasData>True</hasData>
<long>-0.08</long>
<latt>51.51</latt>
<type>city</type>
<parent>2</parent>
</data>
</response>
Schema
Coming soon!
