Skip to content

maru-775/TravelCheap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TravelCheap

<github.com/gcrbr> && <github.com/maru-775>

Interface Map

Tool to disappear at low cost and under mysterious circumstances.

This program deals with searching for low-cost trips on different carriers from a predetermined departure location to designated locations or otherwise offered by the carrier.

The results are viewable through an interface made with HTML, CSS and basic JavaScript.

This simply displays the contents of the data.json file in a readable table format.

Supported carriers

Easyjet FlixBus Italo Volotea Wizz Air Trenitalia Itabus

Note: Some carriers such as Itabus and Italo, are only available in Italy.

Installation

The only required dependencies are dateutil e requests, you can install them with the following command:

pip install python-dateutil requests

Usage

To start the program:

python main.py

To run and view the interface you can use the parameter -i or --interface:

python main.py -i

You can see the other options by using the parameter -h or --help.

Configuration

Within the config.json file it is possible to change:

  • The starting city from which to search for trips
  • The supported cities
  • The price cap for the trips
  • The time delay between searches (in seconds)

It is important to make sure that the city selected as the departure supports all the carriers used.

In short - you need to verify that for the given city, all fields within identifiers are properly filled.

Credits

Svein Kåre Gunnarson for the DotMatrix font.

Technologies used

  • LeafletJS: Map interface
  • Yandex maps: Geocoding API

About

Low-cost journey searcher

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 76.9%
  • JavaScript 9.3%
  • HTML 7.3%
  • CSS 6.5%