Skip to content

Instantly share code, notes, and snippets.

@burin
Created April 30, 2010 17:02
Show Gist options
  • Save burin/385475 to your computer and use it in GitHub Desktop.
Save burin/385475 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Burin Asavesna</author>
<description>Searching for foursquare venues by geographic coordinates</description>
<documentationURL>http://groups.google.com/group/foursquare-api/web/api-documentation</documentationURL>
<sampleQuery>select * from {table} where lat="32.983128" and lng="-97.160746";</sampleQuery>
</meta>
<bindings>
<select itemPath="" produces="XML">
<urls>
<url>http://api.foursquare.com/v1/venues</url>
</urls>
<inputs>
<key id="geolat" as="lat" type="xs:string" paramType="query" required="true" />
<key id="geolong" as="lng" type="xs:string" paramType="query" required="true" />
<key id="l" as="limit" type="xs:string" paramType="query" required="false" />
<key id="q" as="search" type="xs:string" paramType="query" required="false" />
</inputs>
</select>
</bindings>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment