All Projects → kjam → python_flight_search

kjam / python_flight_search

Licence: other
Using Python to search for flights.

Programming Languages

python
139335 projects - #7 most used programming language

Python Flight Search

A simple and extendable series of Python scripts for searching flight options. Contributions welcome!

Scripts

  • air_finder.py - A script to simply scrape flights from airfinder.de
  • sky_picker.py - A script to interact with the skypicker.com API. More documentation available here. Note: this is the only one that supports a flight range (i.e. I want to travel sometime in between these dates...).
  • qpx_express.py - A script with some simple API, request and response classes for interacting with Google's QPX Express API. For more documentation on the format of the request and response, see the API Reference.
  • main.py - Testing by searching them all and comparing in a pandas DataFrame.

Requirements

Install the necessary requirements using the requirements.txt file. Not all scripts need all requirements, so please check the script you are interested in using if you'd like to individually install and use the packages.

The QPX Express API requires an API Key (which you can request on the Google Developer's Console). To use the main.py script for comparison, you'll need to have the api key stored in a config folder, in a file called prod.cfg (section qpx, key api_key). Or just modify the main.py script to your liking. >.<

TO DO (feel free to help / chime in!)

  • Get return flight parsing for each working properly
  • Investigate child flying options for sky_picker / air_finder
  • Active "watching" lookup script (i.e. flight alert)
  • Clean up very messy qpx parsing :(

Questions?

/msg kjam on twitter or freenode.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].