Skip to content

Commit

Permalink
adding new tumblr tables
Browse files Browse the repository at this point in the history
  • Loading branch information
zagraves committed Mar 2, 2010
1 parent b40a590 commit 3fb102a
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
26 changes: 26 additions & 0 deletions tumblr/tumblr.posts.xml
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Yahoo! Inc.</author>
<documentationURL>http://www.tumblr.com/docs/api</documentationURL>
<sampleQuery>select * from {table} where username='rickymontalvo'</sampleQuery>
</meta>
<bindings>
<select itemPath="tumblr.posts" produces="XML">
<urls>
<url>http://{username}.tumblr.com/api/read</url>
</urls>
<inputs>
<key id="username" type="xs:string" paramType="path" required="true" />
<key id="start" type="xs:string" paramType="query" required="false" />
<key id="num" type="xs:string" paramType="query" required="false" />
<key id="type" type="xs:string" paramType="query" required="false" />
<key id="id" type="xs:string" paramType="query" required="false" />
<key id="filter" type="xs:string" paramType="query" required="false" />
<key id="tagged" type="xs:string" paramType="query" required="false" />
<key id="chrono" type="xs:string" paramType="query" required="false" />
<key id="search" type="xs:string" paramType="query" required="false" />
</inputs>
</select>
</bindings>
</table>
18 changes: 18 additions & 0 deletions tumblr/tumblr.tumblelog.xml
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Yahoo! Inc.</author>
<documentationURL>http://www.tumblr.com/docs/api</documentationURL>
<sampleQuery>select * from {table} where username='rickymontalvo'</sampleQuery>
</meta>
<bindings>
<select itemPath="tumblr.tumblelog" produces="XML">
<urls>
<url>http://{username}.tumblr.com/api/read</url>
</urls>
<inputs>
<key id="username" type="xs:string" paramType="path" required="true" />
</inputs>
</select>
</bindings>
</table>

0 comments on commit 3fb102a

Please sign in to comment.