Flight Radar

FREEMIUM
(Ким) Api Dojo | Оновлено месяц назад | Transportation
Популярність

9.9 / 10

Затримки

1,576ms

Рівень обслуговування

100%

Health Check

N/A

Повернутися до всіх обговорень

Pagination

Rapid account: Deleted
[deleted]
год назад

Hi again,
Is there a way to use pagination for this api?
Thanks

Rapid account: Apidojo
apidojo Commented 8 месяцев назад

Hello,

You are interested …/flights/list-in-boundary endpoint instead. That only screen supports filter.

Regards.

Rapid account: Joeschmocool
joeschmocool Commented 8 месяцев назад

Hello,

I am posting on this thread since my question is similar to the pagination question.

I am trying to optimize my requests for the ‘get-more-info’ endpoint.

For common flights, the response list is often several pages long with the first page containing flights that are far in the future and have no relevance yet.

Therefore, I have to fetch again either on page 2, or 3 to get the flight that is closest to the current date. But there is no way of knowing beforehand on which page the flights that are closest to today might be on.

Is there a way to filter the request such that I am only receiving flights that are close to today and therefore relevant?

For example, the response below shows that there might be an additional parameter to filter the results using the “filterBy” key. Do you know if there a way to filter the request to get only relevant flights that are close to the current date?

Thank you!

{ "result": { "request": { "callback": null, "device": "web", "fetchBy": "flight", "filterBy": null, "format": "json", "limit": 100, "olderThenFlightId": null, "page": 1, "pk": null, "query": "AA917", "timestamp": null, "token": null }, "response": { "item": { "current": 16, "total": null, "limit": 100 }, "page": { "current": 1, "more": false, "total": null }, "timestamp": 1695915962, "data": [{},{},{}]

Rapid account: Apidojo
apidojo Commented год назад

Hello,

I am sorry there is no paging feature for that endpoint.

Regards.

Rapid account: Deleted
[deleted] Commented год назад

Hello,
get flights/list-by-airline
Regards.

Rapid account: Apidojo
apidojo Commented год назад

Hello,

Which endpoint are you talking about? How can I read your mind, man?

Regards.

Приєднуйтесь до обговорення — додайте повідомлення нижче:

Вхід / Реєстрація, щоб публікувати нові повідомлення