metaweather.weather.visability

Description

Returns the visability for a specified location and date. This data is pretty limited though - not many sources return this data.

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.visability&locationid=7&date=2005-12-31

<?xml version="1.0" encoding="utf-16"?>
<response status="ok">
  <info>
    <method>metaweather.weather.visability</method>
    <server type="web">bruce</server>
    <server type="db">terry</server>
    <timeTaken>0</timeTaken>
    <generatedTime>10/09/2010 18:30:58</generatedTime>
  </info>
  <data>
    <visability>
      <m>16</m>
      <k>25</k>
    </visability>
  </data>
</response>

Schema

Coming soon!