Booking com

फ्रीमियम
द्वारा Tipsters CO | अपडेट किया गया 15 days ago | Travel
लोकप्रियता

9.9 / 10

लेटेंसी

804ms

सेवा का स्तर

100%

Health Check

100%

सभी चर्चाओं पर वापस जाएं

How to get hotel_url without specifying dates

I am searching for hotels by specifying dest_id, dest_type, date, etc. in the “Search hotels” endpoint. But i want to get hotel url without specifying dates. I would be very happy to know if there is any better way to do this.

Rapid account: Tipsters
tipsters Commented a year ago

dest_id is the hotel ID. in "Search locations endpoint"
You can find the hotel and hotel ID by name

Rapid account: Kaitekinakurashigoudou
kaitekinakurashigoudou Commented a year ago

Thanks for the quick reply!
However, I don’t think the problem is solved.
In the endpoint to get the hotel_id (e.g. “Search Hotels”) I have to specify a date.
If the reservation is booked on that date, the desired inn won’t show up in the search results, right?
To avoid this, I want to get the hotel_id of the inn without specifying a date.

(I have confirmed that entering the name of the inn in the Search locations endpoint will correctly find the desired inn. It would be very useful if there was a hotel_id here, but there isn’t, is there?)

Rapid account: Tipsters
tipsters Commented a year ago

Hello!
Yes!
v1/hotels/data?hotel_id=183080&locale=en-gb

Regards. From the Tipsters.

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें