Created
April 30, 2010 16:29
-
-
Save burin/385438 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd"> | |
<meta> | |
<author>Burin Asavesna</author> | |
<documentationURL>http://gowalla.com/api/explorer</documentationURL> | |
<sampleQuery>select * from {table} where lat='32.983128' and lng='-97.160746' and radius='50' and api_key='9c1ab2d4c1f949fa9e254f20e990e0bc';</sampleQuery> | |
</meta> | |
<bindings> | |
<select itemPath="json" produces="JSON"> | |
<urls> | |
<url>http://api.gowalla.com/spots</url> | |
</urls> | |
<inputs> | |
<key id="lat" type="xs:string" paramType="query" required="true" /> | |
<key id="lng" type="xs:string" paramType="query" required="true" /> | |
<key id="api_key" type="xs:string" paramType="variable" required="true"/> | |
<key id="radius" type="xs:string" paramType="query" required="true"/> | |
</inputs> | |
<execute> | |
<![CDATA[ | |
response.object = request.header('X-Gowalla-API-Key', api_key).header('Accept', 'application/json').get().response; | |
]]> | |
</execute> | |
</select> | |
</bindings> | |
</table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment