Skip to content

Commit

Permalink
Etsy Users table
Browse files Browse the repository at this point in the history
  • Loading branch information
rlerdorf committed Mar 25, 2009
1 parent de8df2b commit dbc328d
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions etsy/etsy.users.xml
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Rasmus Lerdorf</author>
<documentationURL>http://developer.etsy.com/docs</documentationURL>
<description>Etsy.com Users API</description>
<sampleQuery>select * from etsy.users where user_id='testuser' and api_key=123456789</sampleQuery>
</meta>
<bindings>

<select itemPath="json.results" produces="JSON">
<urls>
<url env="all">http://beta-api.etsy.com/v1/users/{user_id}</url>
</urls>
<inputs>
<key id="user_id" type="xs:string" paramType="path" required="true" />
<key id="api_key" type="xs:string" paramType="query" required="true" />
<key id="detail_level" type="xs:string" paramType="query" />
</inputs>
</select>

<select itemPath="json.results" produces="JSON">
<urls>
<url env="all">http://beta-api.etsy.com/v1/users/keywords/{search_name}</url>
</urls>
<paging model="offset">
<start id="offset" default="0" />
<pagesize id="limit" max="50" />
<total default="10" />
</paging>
<inputs>
<key id="search_name" type="xs:string" paramType="path" required="true" />
<key id="api_key" type="xs:string" paramType="query" required="true" />
<key id="detail_level" type="xs:string" paramType="query" />
</inputs>
</select>

</bindings>
</table>

0 comments on commit dbc328d

Please sign in to comment.