Skip to content

Find the best rate for your next flight consulting different providers!

Notifications You must be signed in to change notification settings

lorenzodifuccia/FlyScanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FlyScanner

Find the best rate for your next flight consulting different providers!

Note: I'm not responsible for the use of this program, this is only for personal and educational purpose. Before any usage please read provider's Terms of Service.

Current providers:

Usage

  • Autocomplete (find the IATA of the location)
~$ python3 flyscanner.py --autocomplete Rome

    ________      _____                                 
   / ____/ /_  __/ ___/_________ _____  ____  ___  _____
  / /_  / / / / /\__ \/ ___/ __ `/ __ \/ __ \/ _ \/ ___/
 / __/ / / /_/ /___/ / /__/ /_/ / / / / / / /  __/ /    
/_/   /_/\__, //____/\___/\__,_/_/ /_/_/ /_/\___/_/     
        /____/                                          

 • CITY 🌆
   Name: Rome
   Geo: 9795 (CITY) - IATA: ROM
   City: Rome
   Country: Italy (IT)
   Location Names: Rome, Roma
   Related Locations:
   • AIRPORT ✈️
     Name: Fiumicino
     Geo: 607 (AIRPORT) - IATA: FCO
     City: Rome
     Country: Italy (IT)
     Location Names: Fiumicino
   • AIRPORT ✈️
     Name: Ciampino
     Geo: 365 (AIRPORT) - IATA: CIA
     City: Rome
     Country: Italy (IT)
     Location Names: Ciampino

  ...
  • Search (default provider, no stop date)
~$ python3 flyscanner.py --search --departure ROM --destination LON --date 2022-04-01

    ________      _____                                 
   / ____/ /_  __/ ___/_________ _____  ____  ___  _____
  / /_  / / / / /\__ \/ ___/ __ `/ __ \/ __ \/ _ \/ ___/
 / __/ / / /_/ /___/ / /__/ /_/ / / / / / / /  __/ /    
/_/   /_/\__, //____/\___/\__,_/_/ /_/_/ /_/\___/_/     
        /____/                                          

Provider: eDreams
Searching for 2022-04-01 ...
  • ✈️  FOUND: 75.08 EUR - Vueling - 🕓 2:50:00 ✈️
  Departure: 2022-04-01T21:20:00+02:00
  From: Fiumicino - Rome - Italy - AIRPORT - FCO
  Arrival: 2022-04-01T23:10:00+01:00
  To: Gatwick - London - United Kingdom - AIRPORT - LGW
  Available Discounts:
   Discount: 53.99 EUR MEMBER_PRICE_POLICY_DISCOUNTED

...

# Use Ctrl-C to stop the search
  • Search (with stop date)
~$ python3 flyscanner.py --search --departure ROM --destination LON --date 2022-04-01 --to-date 2022-04-02      

    ________      _____                                 
   / ____/ /_  __/ ___/_________ _____  ____  ___  _____
  / /_  / / / / /\__ \/ ___/ __ `/ __ \/ __ \/ _ \/ ___/
 / __/ / / /_/ /___/ / /__/ /_/ / / / / / / /  __/ /    
/_/   /_/\__, //____/\___/\__,_/_/ /_/_/ /_/\___/_/     
        /____/                                          

Provider: eDreams
Searching for 2022-04-01 ...
  • ✈️  FOUND: 75.08 EUR - Vueling - 🕓 2:50:00 ✈️ 
  Departure: 2022-04-01T21:20:00+02:00
  From: Fiumicino - Rome - Italy - AIRPORT - FCO
  Arrival: 2022-04-01T23:10:00+01:00
  To: Gatwick - London - United Kingdom - AIRPORT - LGW
  Available Discounts:
   Discount: 53.99 EUR MEMBER_PRICE_POLICY_DISCOUNTED

Searching for 2022-04-02 ...
  • ✈️  FOUND: 40.77 EUR - Ryanair - 🕓 2:35:00 ✈️ 
  Departure: 2022-04-02T06:50:00+02:00
  From: Ciampino - Rome - Italy - AIRPORT - CIA
  Arrival: 2022-04-02T08:25:00+01:00
  To: Stansted - London - United Kingdom - AIRPORT - STN
  Available Discounts:
   Discount: 25.99 EUR MEMBER_PRICE_POLICY_DISCOUNTED

Bye!

Other options

  • --passengers
  • --all: Show all fly options for the day, not only the cheepest
  • --list: Reduce verbosity to only first line
  • --save: Save the search output on a Excel spreadsheet

Save option

  • --save will save to ~/Desktop/FlyScannerTrips.xlsx
  • or you can specify the path: --save /path/to/file.xlsx

About

Find the best rate for your next flight consulting different providers!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages