Skip to content

Instantly share code, notes, and snippets.

@thanos
Last active August 26, 2023 17:26
Show Gist options
  • Save thanos/9d9747af7b7a32652f2757423436d8c5 to your computer and use it in GitHub Desktop.
Save thanos/9d9747af7b7a32652f2757423436d8c5 to your computer and use it in GitHub Desktop.
Using Xeni Travel Api to fetch a hotel detail and it's availability
curl -X 'GET' "$XENI_API_HOST/api/accommodation_searches/accommodation?search_id=962c9315-0e35-45e3-b158-be10c860912d&property_id=40553&raw=true" \
-H "accept: application/json" \
-H "authorization: bearer: $XENI_TOKEN"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment