metaweather.location.sourcesAvailable

Description

Gives a list of the possible sources for a location

Arguments

NameRequired?Default ValueDescription
locationidYesID 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>10/09/2010 17:43:42</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!