Skip to content

Commit

Permalink
first test of programmableweb APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
spier committed Dec 23, 2011
1 parent cf81627 commit 6e93577
Show file tree
Hide file tree
Showing 6 changed files with 1,220 additions and 0 deletions.
1,063 changes: 1,063 additions & 0 deletions alltables_forked.env

Large diffs are not rendered by default.

35 changes: 35 additions & 0 deletions programmableweb/pw.apis.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8" ?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Sebastian Spier (http://twitter.com/#!/sebastianspier/)</author>
<description></description>
<documentationURL>http://api.programmableweb.com/apireference</documentationURL>
<sampleQuery>SELECT * FROM {table}</sampleQuery>
<sampleQuery>SELECT id,title FROM {table} WHERE q="thumbnail"</sampleQuery>
</meta>
<bindings>

<select itemPath="feed.entry" produces="XML">
<urls>
<url env="all">http://api.programmableweb.com/apis</url>
</urls>
<paging model="page">
<start id="page" default="0" />
<pagesize id="pagesize" max="30" />
<total default="20" />
</paging>
<inputs>
<!-- fix calls to always respond with XML -->
<key id="alt" type="xs:string" paramType="query" default="xml" const="true"/>
<!-- fix the version to 1.0 -->
<key id="version" type="xs:string" paramType="query" default="1.0" const="true"/>

<key id="apikey" type="xs:string" paramType="query" required="true"/>

<key id="q" type="xs:string" paramType="query"/>
<key id="sort" type="xs:string" paramType="query"/>
</inputs>
</select>

</bindings>
</table>
44 changes: 44 additions & 0 deletions programmableweb/pw.mashup.search.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8" ?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Sebastian Spier (http://twitter.com/#!/sebastianspier/)</author>
<description></description>
<documentationURL>http://api.programmableweb.com/apireference</documentationURL>
<sampleQuery>SELECT * FROM {table}</sampleQuery>
<sampleQuery>SELECT * FROM {table} WHERE maxdays=2</sampleQuery>
<sampleQuery>SELECT id,title,link FROM {table} WHERE q="guardian"</sampleQuery>
<sampleQuery>SELECT * FROM {table} WHERE apis="google-maps"</sampleQuery>
</meta>
<bindings>

<select itemPath="feed.entry" produces="XML">
<urls>
<url env="all">http://api.programmableweb.com/mashups</url>
</urls>
<paging model="page">
<start id="page" default="0" />
<pagesize id="pagesize" max="30" />
<total default="20" />
</paging>
<inputs>
<!-- fix calls to always respond with XML -->
<key id="alt" type="xs:string" paramType="query" default="xml" const="true"/>
<!-- fix the version to 1.0 -->
<key id="version" type="xs:string" paramType="query" default="1.0" const="true"/>

<key id="apikey" type="xs:string" paramType="query" required="true"/>

<key id="q" type="xs:string" paramType="query"/>
<key id="sort" type="xs:string" paramType="query"/>

<key id="maxdays" type="xs:string" paramType="query"/>

<!-- TODO takes multiple values -->
<key id="apis" type="xs:string" paramType="query"/>


</inputs>
</select>

</bindings>
</table>
Empty file added programmableweb/pw.mashup.xml
Empty file.
41 changes: 41 additions & 0 deletions programmableweb/pw.members.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8" ?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Sebastian Spier (http://twitter.com/#!/sebastianspier/)</author>
<description></description>
<documentationURL>http://api.programmableweb.com/apireference</documentationURL>
<sampleQuery>SELECT * FROM {table}</sampleQuery>
<sampleQuery>SELECT * FROM {table} WHERE q="spier"</sampleQuery>
</meta>
<bindings>

<select itemPath="feed.entry" produces="XML">
<urls>
<url env="all">http://api.programmableweb.com/members</url>
</urls>
<paging model="page">
<start id="page" default="0" />
<pagesize id="pagesize" max="30" />
<total default="20" />
</paging>
<inputs>
<!-- fix calls to always respond with XML -->
<key id="alt" type="xs:string" paramType="query" default="xml" const="true"/>
<!-- fix the version to 1.0 -->
<key id="version" type="xs:string" paramType="query" default="1.0" const="true"/>

<key id="apikey" type="xs:string" paramType="query" required="true"/>

<key id="q" type="xs:string" paramType="query"/>
<key id="sort" type="xs:string" paramType="query"/>


<!-- TODO takes multiple values -->
<key id="apis" type="xs:string" paramType="query"/>
<key id="filter" type="xs:string" paramType="query"/>
<key id="tags" type="xs:string" paramType="query"/>
</inputs>
</select>

</bindings>
</table>
37 changes: 37 additions & 0 deletions programmableweb/pw.widgets.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8" ?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Sebastian Spier (http://twitter.com/#!/sebastianspier/)</author>
<description></description>
<documentationURL>http://api.programmableweb.com/apireference</documentationURL>
<sampleQuery>SELECT * FROM {table}</sampleQuery>
<sampleQuery>SELECT * FROM {table} WHERE q="SMS"</sampleQuery>
</meta>
<bindings>

<select itemPath="feed.entry" produces="XML">
<urls>
<url env="all">http://api.programmableweb.com/widgets</url>
</urls>
<paging model="page">
<start id="page" default="0" />
<pagesize id="pagesize" max="30" />
<total default="20" />
</paging>
<inputs>
<!-- fix calls to always respond with XML -->
<key id="alt" type="xs:string" paramType="query" default="xml" const="true"/>
<!-- fix the version to 1.0 -->
<key id="version" type="xs:string" paramType="query" default="1.0" const="true"/>

<key id="apikey" type="xs:string" paramType="query" required="true"/>

<key id="q" type="xs:string" paramType="query"/>
<key id="sort" type="xs:string" paramType="query"/>

<key id="maxdays" type="xs:string" paramType="query"/>
</inputs>
</select>

</bindings>
</table>

0 comments on commit 6e93577

Please sign in to comment.