Hotel API code examples
This section provides code examples that show how to use the resources available in the Hotel API.
- Get, list, and update subaccounts: Subaccounts code example
- Get, list, add, and update hotel groups: Hotel group code example
- Get, list, update, and associate hotels: Hotel code example
- Request and download a Hotel Ads Performance report: Reporting code example
- Send multiple requests in a batch: Batch processing code example
For a simple example that shows how to get an OAuth access and refresh token, see Code grant flow code example.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.