Git Product home page Git Product logo

eurotrip-planner's Introduction

EuroTrip Planner

Eurotrip planner is a Python script for planning the cheapest (euro)trip using SkyScanner API.

For more info, have a look at The EuroTrip Planner Blog: Part 1 and Part 2

⚠️ Update

Skyscanner stopped their free API in the beginning of 2022 and now you have to request special paid access. Unfortunately, there is no other better alternative which can replace it.

Feel free to use the backend if you find a custom API. Also open a PR if you want.

Requirements

  • Python3
  • Docker

Usage

First install all the requirements:

pip3 install -r requirements.txt

If docker is already installed, run following command to start a MongoDB server locally on default port

docker run --name eurotrip-planner-mongo -d mongo:latest

Then, edit first 5 variables in planner.py as according to your proposed trip and then run

python3 planner.py

Note: You will require a RapidAPI licence key. Please don't abuse mine :-)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

GPL

eurotrip-planner's People

Contributors

dependabot[bot] avatar shreyasgokhale avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

eurotrip-planner's Issues

Error: Documents must be a non-empty list

Hello, when trying to test your software (and after having started the docker image), the following error occurs:

An error occured:documents must be a non-empty list
The Top ten cheapest flights are:

Benchmark Stats :
Time spent in program: 0.862751 seconds

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.