Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
/ ryanair Public archive

Code to search for (round) flights, using: multiple arrival/departure airports, date range and day of week as input.

License

Notifications You must be signed in to change notification settings

CLFPosthumus/ryanair

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ryanair Round Flights

Search for (round) flights, using: multiple arrival/departure airports, date range and day of week as input.

I am in no way affiliated with Ryanair, use of this code for commercial purposes could be prohibited.

Getting Started

Install using pip:

pip install ryanair

Prerequisite

Config.yml is required in the root directory of the script. A sample is included in the example folder.

Example

After installing the ryanair pip package, you can proceed as stated below:

from ryanair import Ryanair,departuredates, returndates

ryanair = Ryanair()

Find departure flights. The function returns a dictionary and writes to excel.

departureflights = ryanair.flights(departuredates,outputfile='Departure.xlsx')

Find return flights. This inverses the departure/arrival airports.

returnflights = ryanair.flights(returndates,outputfile='Return.xlsx',returnflight= True)

Find round flights, based on the previous output

roundflights = ryanair.roundflights(departureflights,returnflights,outputfile = 'Round.xlsx')

Contributing

Feel free to contribute to the project, in case of any questions please contact [email protected]

Acknowledgments

  • This was inspired by andre19rodrigues/RyanairRangeMultipleCheapest's repo

About

Code to search for (round) flights, using: multiple arrival/departure airports, date range and day of week as input.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages