Skip to content

Commit

Permalink
Weather Underground
Browse files Browse the repository at this point in the history
Added open tables for the four methods of Weather Underground's hyperlocal weather forecast service <http://wunderground.com>.
  • Loading branch information
BenWard committed Nov 14, 2010
1 parent da0f972 commit 5256421
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 0 deletions.
19 changes: 19 additions & 0 deletions wunderground/wunderground.alerts.xml
Original file line number Diff line number Diff line change
@@ -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>
19 changes: 19 additions & 0 deletions wunderground/wunderground.currentobservation.xml
Original file line number Diff line number Diff line change
@@ -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>
19 changes: 19 additions & 0 deletions wunderground/wunderground.forecast.xml
Original file line number Diff line number Diff line change
@@ -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>
19 changes: 19 additions & 0 deletions wunderground/wunderground.geolookup.xml
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 5256421

Please sign in to comment.