Skip to content

Latest commit

 

History

History
executable file
·
33 lines (27 loc) · 794 Bytes

README.md

File metadata and controls

executable file
·
33 lines (27 loc) · 794 Bytes

This project use the JCDecaux's API : https://developer.jcdecaux.com/#/opendata/vls?page=getstarted

Get started

  1. Download the project from github :
git clone https://github.com/RolletQuentin/
cd JCDecaux_api_test
  1. It is recommended to use virtual environement for python :
python3 -m venv env
source env/bin/activate
  1. Download all the dependencie with pip :
pip install -r requirements.txt
  1. Add a config file in the src folder in the project. This config file must be named config.json :
{
    "api_key": "your_api_key"
}
  1. You can now run the application !
python3 main.py

By default, only the first example is running. To see the two other examples, please uncomment the lines at the end of the main.py file