Skip to content

Instantly share code, notes, and snippets.

@aranair
Last active December 21, 2015 08:29
Show Gist options
  • Save aranair/6278260 to your computer and use it in GitHub Desktop.
Save aranair/6278260 to your computer and use it in GitHub Desktop.
sample API for list of hotels in location
---- Hotel List in Location ----
[
{
"id": 29292,
"name":"Hotel Royal",
"stars":4,
"image":"http://cdn.wego.com/gazo/43/274b48b1f505e856e94fbcc0dbdc5c2cf03b5c6c/3464648_B.jpg",
"rank":1,
"brand_id":255,
"latitude":34.67454,
"longitude":135.50569,
"property_type":1
},
{...}
]
---- List of Rates for a search ID ----
[
{
"id":258101,
"rate_id":1,
"rate":"423",
"currency":"US$"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment