Hotels com Provider

फ्रीमियम
द्वारा Tipsters CO | अपडेट किया गया il y a 4 jours | Travel
लोकप्रियता

9.9 / 10

लेटेंसी

1,698ms

सेवा का स्तर

100%

Health Check

100%

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

Pagination in hotel search query

Rapid account: Pwlnow
pwlnow
il y a 2 ans

how does pagination work in hotel search? I got pagination result like below:

   "pagination": {
        "currentPage": 1,
        "pageGroup": "EXPEDIA_EXPANDED",
        "nextPageStartIndex": 11,
        "nextPageNumber": 1,
        "nextPageGroup": "TPI_EXPANDED"
    }

On my next query, I set page_number field to be 11

“page_number”: “11”

The result of this query is the same as the original query where page_nunmber is 1:

“page_number”: “1”

Also, what is pageGroup? The given Example does not show this field.

Rapid account: Tipsters
tipsters Commented il y a 2 ans

Open the sample code https://rapidapi.com/tipsters/api/hotels-com-provider/

And run it. Change the value of the page, the result will change.

Rapid account: Tipsters
tipsters Commented il y a 2 ans

Hi. Everything works.
Send me an example request by email.

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

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