Booking

फ्रीमियम
द्वारा Api Dojo | अपडेट किया गया 21 день назад | Travel
लोकप्रियता

9.9 / 10

लेटेंसी

2,554ms

सेवा का स्तर

100%

Health Check

N/A

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

Paging doesn't work

Rapid account: Simonnicholls 1
simonnicholls1
2 years ago

I am trying to use the api to call list preoprties, it seems to return 20 properties at a time but when I use page offset it doesn’t list the next properties it just lists the same ones each time

Rapid account: Jantonio S Wmjjo LYR
jantonio-SWmjjoLYR Commented 9 months ago

I use search_id=‘4b21d214481694211899154bcea6fbd2544:2:101’ and offset=2/offset=30 and I always get only 20 results and sometimes when I ask 2 times for results it brings me different hotels but there is one that repeats in the previous result. I don’t understand how to use offset or search_id.

Rapid account: Debayanghosh
debayanghosh Commented 9 months ago

I am unable to go to page 2 of any search result. Please guide what values to enter in search_id and Offset fields?

Rapid account: Iken
iken Commented a year ago

I figured it out - search_id should be the same number as offset

Rapid account: Elpaso 217
elpaso217 Commented a year ago

What parameter do you use for search_id to get the next page? besides “None”

Rapid account: Simonnicholls 1
simonnicholls1 Commented 2 years ago

It’s because the radius of the search changes with the initial call starts at 70 then drops to 15…

Rapid account: Simonnicholls 1
simonnicholls1 Commented 2 years ago

I notice the search_id changes every time I try to load the next set of results, do I need to update the search id each time with the offset?

Also even whilst using search_id I am seeing different results from the initial call (with no search_id) to the next calls that include the search id, the count of filtered hotels drops significantly

Rapid account: Simonnicholls 1
simonnicholls1 Commented 2 years ago

Nice I have it now thanks!

Rapid account: Apidojo
apidojo Commented 2 years ago

Well, you must have missed the optional parameter - search_id.

Regards.

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

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