-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Vasilis Mavromatis edited this page Oct 31, 2017
·
10 revisions
sudo pip install git+https://github.com/vmavromatis/hotel-api-sdk-python.git --upgrade
- Availability Request using hotels list (RECOMMENDED)
- Availability Request by geolocation
- Availability Request by destination
Save the rate_key
of the room that you desire to book in a variable. Note the rate_type
for Step 2 and payment_type
for Step 3.
STEP 2 (OPTIONAL): If the ratekey from step 1 was of rateType RECHECK perform the following operation.
STEP 3: Book the hotel with the ratekey you got from above. Depending on the payment_type
do ONE of the two:
* Note that for this operation the API version used is 1.2
** Note that for this operation the host path used is "https://api-secure.test.hotelbeds.com/hotel-api"
- Booking Detail Request
- Booking List Request
- Booking Change Request
- Booking Cancellation