JeanExtreme002 / FlightRadarAPI

:airplane: Unofficial SDK for FlightRadar24 for Python 3 and NodeJS
https://pypi.org/project/FlightRadarAPI/
MIT License
296 stars 60 forks source link

Getting only first pages of arrivals/departures in airport details #50

Closed Tehnik762 closed 11 months ago

Tehnik762 commented 11 months ago

Is not your feature request related to a problem? Please describe

Additional context If it is ok - I am ready to do it by myself and then make PR in your project

JeanExtreme002 commented 11 months ago

Hi @Tehnik762!

Oh yeah, I didn't notice that it's possible to get more pages by setting the param page on the request. Sure, you can open a PR. Something I thought is allowing the param flight_limit be bigger than 100, and then we just divide the value by 100 (it's the limit at the back-end of the website), making N requests for the N pages.

JeanExtreme002 commented 11 months ago

I accepted the PR and the feature is already on PyPI package. Again, thank you for contributing to the project!

Closing this issue.