forked from yql/yql-tables
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sam Pullara
committed
Jun 11, 2009
1 parent
9e2c5bf
commit ff6cc1f
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd"> | ||
<meta> | ||
<author>Yvo Schaap</author> | ||
<description>Greenbookings.com Hotel Search</description> | ||
<documentationURL>http://www.greenbookings.com/faq/</documentationURL> | ||
<sampleQuery>select * from {table} where search='times square new york' and currencyCode= 'EUR'</sampleQuery> | ||
</meta> | ||
<bindings> | ||
<select itemPath="results.item" produces="JSON"> | ||
<urls> | ||
<url>http://www.greenbookings.com/api/hotelSearchFeed.php</url> | ||
</urls> | ||
<paging model="offset"> | ||
<start default="0" id="start"/> | ||
<pagesize max="50" id="count"/> | ||
<total default="20" /> | ||
</paging> | ||
<inputs> | ||
<key id="search" type="xs:string" paramType="query" required="true" /> | ||
<key id="currencyCode" type="xs:string" paramType="query" /> | ||
<key id="numberOfResults" type="xs:integer" paramType="query" /> | ||
</inputs> | ||
</select> | ||
</bindings> | ||
</table> |