Skip to content

Latest commit

 

History

History
40 lines (22 loc) · 1.3 KB

README.md

File metadata and controls

40 lines (22 loc) · 1.3 KB

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