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
For a simple example that shows how to get an OAuth access and refresh token, see Code grant flow code example.