Questions tagged [booking.com-api]

Booking.com has an API that allows you to get information through an programming interface in JSON or XML format. Use this tag if your question is about this specific API from Booking.com.

The Booking.com API consists of three general endpoint classes:

  • Availability: real-time pricing and availability which is constantly changing. It is not permissible to cache availability. Instead, request the data each time it is needed.
  • Static data: property descriptions, facility information, city names, hotel types, and other data that changes less frequently in comparison to availability. It is recommended to cache this data.
  • Booking endpoints: these are related to processing bookings via the API.

For further informations see the booking.com documentation

17 questions
0
votes
0 answers

UrlFetchApp returns different response from what I see in browser

I'm trying to scrape hotel prices from Booking.com, and now getting a weird response body that is different from what I am seeing on my browser in private mode. When you run the Google Script below then you'll get '2178' JPY as a result, while just…
pomme
  • 97
  • 1
  • 3
  • 11
-1
votes
3 answers

How to fix urllib.error.HTTPError: HTTP Error 429: Too Many Requests

I use this code for get description about hotel from booking website. Code: from flask import Flask, request, jsonify, Response from functools import wraps from geopy.geocoders import Nominatim import requests from bs4 import BeautifulSoup from…
Abdullah Md
  • 151
  • 15
1
2