/router-compare

Compare distance and duration from several navitia routers

Primary LanguagePython

Router compare

Compare distance and duration from several navitia routers.

Dependencies

To install the dependencies use pip3:

pip3 install -r requirements.txt

Installation

Duplicate the auth_params_template folder and rename to auth_params.

Put your api keys in auth_params/__init__.py file:

google_api_key = "<Your Google Maps API key>"

navitia_api_key = "<Your Navitia API key>"
navitia_base_url = "https://api.navitia.io/v1"

Usage

To generate a performance comparison chart:

python3 router_tester.py