Hotels com Provider

FREEMIUM
От Tipsters CO | Обновлено 17 days ago | Travel
Популярность

9.9 / 10

Задержка

1,540ms

Уровень обслуживания

100%

Health Check

100%

Назад ко всем обсуждениям

Pagination in hotel search query

Rapid account: Pwlnow
pwlnow
2 years ago

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 2 years ago

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 2 years ago

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

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии