Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Weather Underground

Added open tables for the four methods of Weather Underground's hyperlocal weather forecast service <http://wunderground.com>.
  • Loading branch information...
commit 5256421f70e7ea356ef3945088dc8ccbb1455ec4 1 parent da0f972
@BenWard BenWard authored
View
19 wunderground/wunderground.alerts.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <author>Ben Ward</author>
+ <description>Weather Underground NWS Alerts</description>
+ <documentationURL>http://wiki.wunderground.com/index.php/API_-_XML</documentationURL>
+ <sampleQuery>select * from {table} where location='94104';</sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="" produces="XML">
+ <urls>
+ <url>http://api.wunderground.com/auto/wui/geo/AlertsXML/index.xml</url>
+ </urls>
+ <inputs>
+ <key id="query" as="location" type="xs:string" required="true" paramType="query"/>
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
19 wunderground/wunderground.currentobservation.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <author>Ben Ward</author>
+ <description>Weather Underground Current Observation at a weather station or airport</description>
+ <documentationURL>http://wiki.wunderground.com/index.php/API_-_XML</documentationURL>
+ <sampleQuery>select * from {table} where location='SFO';</sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="" produces="XML">
+ <urls>
+ <url>http://api.wunderground.com/auto/wui/geo/WXCurrentObXML/index.xml</url>
+ </urls>
+ <inputs>
+ <key id="query" as="location" type="xs:string" required="true" paramType="query"/>
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
19 wunderground/wunderground.forecast.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <author>Ben Ward</author>
+ <description>Weather Underground Forecast</description>
+ <documentationURL>http://wiki.wunderground.com/index.php/API_-_XML</documentationURL>
+ <sampleQuery>select * from {table} where location='Chicago,IL';</sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="" produces="XML">
+ <urls>
+ <url>http://api.wunderground.com/auto/wui/geo/ForecastXML/index.xml</url>
+ </urls>
+ <inputs>
+ <key id="query" as="location" type="xs:string" required="true" paramType="query"/>
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
19 wunderground/wunderground.geolookup.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <author>Ben Ward</author>
+ <description>Weather Underground Geo Lookup</description>
+ <documentationURL>http://wiki.wunderground.com/index.php/API_-_XML</documentationURL>
+ <sampleQuery>select * from {table} where location='San Francisco';</sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="" produces="XML">
+ <urls>
+ <url>http://api.wunderground.com/auto/wui/geo/GeoLookupXML/index.xml</url>
+ </urls>
+ <inputs>
+ <key id="query" as="location" type="xs:string" required="true" paramType="query"/>
+ </inputs>
+ </select>
+ </bindings>
+</table>
Please sign in to comment.
Something went wrong with that request. Please try again.