Sky Scrapper

FREEMIUM
(Ким) apiheya | Оновлено 13 दिन पहले | Travel
Популярність

9.9 / 10

Затримки

5,881ms

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

100%

Health Check

100%

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

Is there a way to limit the number of results we get from searchFlights endpoint?

Rapid account: Sami Z Sly Si 9 T
sami-ZSlySi_9t
4 महीने पहले

Hi,

We were working with this API. Although it works really well but the problem we are facing is that the searchFlights endpoint takes almost 20 secs to fetch the results which is alot unfortunately for our use case.
Is there a way we can limit the number of responses from this endpoint se we may get faster results?

Thanks.

Rapid account: Sami Z Sly Si 9 T
sami-ZSlySi_9t Commented 4 महीने पहले

Hello, Any update in this regard will be greatly appreciated Thanks.

Rapid account: Sami Z Sly Si 9 T
sami-ZSlySi_9t Commented 4 महीने पहले

Hello,

Do you have any update in this regard?

Rapid account: Sami Z Sly Si 9 T
sami-ZSlySi_9t Commented 4 महीने पहले

Sorry for the late response. But we are currently subscribed to the pro plan and we may switch to the ultra plan in the future.

Rapid account: Apiheya
apiheya Commented 4 महीने पहले

Hello,

Certainly, we can provide an API for you, but it will take at least 2 working days to develop. Do you have a plan that you subscribe to?

Regards.

Rapid account: Sami Z Sly Si 9 T
sami-ZSlySi_9t Commented 4 महीने पहले

Interested in that API for sure. Can you detail how I can access it? Thanks again for your response.

Rapid account: Apiheya
apiheya Commented 4 महीने पहले

Yes, that’s correct, but you cannot limit the number of recodes. Initially, it may send as many records as it can. Let’s say there are 300 records total. The first request can give 20 or so, while the next request can give 150 records. To fetch all 300 records, you must call the same API multiple times.

Rapid account: Sami Z Sly Si 9 T
sami-ZSlySi_9t Commented 4 महीने पहले

Thank you for getting back to me.

If I understand correctly, is there a possibility that we can poll the API uptil a certain number of results are obtained and then not send any more requests. Let me know if that’s possible on your end.
Or let me know if there’s a possibility for us to implement this strategy.

Thank you again.
Hope to hear from you soon.

Rapid account: Apiheya
apiheya Commented 4 महीने पहले

Hello,

Skyscanner has an API where you need to poll (request the same API again) until it has completed getting all the data. Our current approach involves making multiple API calls on our end to prevent the user from polling on their end. This is causing the search for flights to take a long time. If you wish to conduct a poll on your end, please inform me. We can give you access to that API. To obtain complete records, it’s important to call the same API 2-3 times.

Best Regards.

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

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