Skip to content

Instantly share code, notes, and snippets.

@arshaver
Created January 16, 2012 02:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arshaver/1618805 to your computer and use it in GitHub Desktop.
Save arshaver/1618805 to your computer and use it in GitHub Desktop.
jtv
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Justin.tv</author>
<description>Justin.tv's API</description>
<documentationURL>none</documentationURL>
<sampleQuery>select * from {table} where category = "gaming" and limit = "20"</sampleQuery>
</meta>
<bindings>
<select itemPath="streams" produces="XML">
<urls>
<url>http://api.justin.tv/api/stream/list.xml</url>
</urls>
<inputs>
<key id="category" type="xs:string" paramType="query" />
<key id="limit" type="xs:string" paramType="query" />
</inputs>
</select>
</bindings>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment