Giter VIP home page Giter VIP logo

python_flight_search's Introduction

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.

python_flight_search's People

Contributors

kjam avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.