metaweather.location.sourcesAvailable
Description
Gives a list of the possible sources for a location
Arguments
| Name | Required? | Default Value | Description |
|---|---|---|---|
| locationid | Yes | 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.sourcesAvailable&locationid=3
<?xml version="1.0" encoding="utf-16"?>
<response status="ok">
<info>
<method>metaweather.location.sourcesAvailable</method>
<server type="web">bruce</server>
<server type="db">terry</server>
<timeTaken>0</timeTaken>
<generatedTime>07/09/2010 00:36:03</generatedTime>
</info>
<data>
<source>
<id>1</id>
<name>Weather.com</name>
<sourceLocationId>1</sourceLocationId>
</source>
<source>
<id>4</id>
<name>Weather Underground</name>
<sourceLocationId>69</sourceLocationId>
</source>
</data>
</response>
Schema
Coming soon!
