Booking

フリーミアム
よって Api Dojo | 更新済み 21일 전 | Travel
人気

9.9 / 10

レイテンシー

2,554ms

サービスレベル

100%

Health Check

N/A

すべてのディスカッションに戻る

Paging doesn't work

Rapid account: Simonnicholls 1

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달 전

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달 전

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 일 년 전

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

Rapid account: Elpaso 217
elpaso217 Commented 일 년 전

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

Rapid account: Simonnicholls 1
simonnicholls1 Commented 2년 전

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년 전

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년 전

Nice I have it now thanks!

Rapid account: Apidojo
apidojo Commented 2년 전

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

Regards.

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿