Skip to content

Commit

Permalink
add green bookings for a 3rd party
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Pullara committed Jun 11, 2009
1 parent 9e2c5bf commit ff6cc1f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions alltables.env
Expand Up @@ -41,6 +41,7 @@ use 'http://www.datatables.org/github/github.user.repos.xml' as github.user.repo
use 'http://www.datatables.org/google/google.translate.xml' as google.translate;
use 'http://www.datatables.org/greader/greader.feed.xml' as greader.feed;
use 'http://www.datatables.org/greader/greader.user.folder.xml' as greader.user.folder;
use 'http://www.datatables.org/greenbookings/greenbookings.search.xml' as greenbookings.search;
use 'http://www.datatables.org/guardian/guardian.content.item.xml' as guardian.content.item;
use 'http://www.datatables.org/guardian/guardian.content.search.xml' as guardian.content.search;
use 'http://www.datatables.org/guardian/guardian.content.tags.xml' as guardian.content.tags;
Expand Down
26 changes: 26 additions & 0 deletions greenbookings/greenbookings.search.xml
@@ -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>

0 comments on commit ff6cc1f

Please sign in to comment.