/google-directions-api-script-demo

Python script to get Google maps directions/routes between two addresses.

Primary LanguagePython

google-directions-api-script-demo

Extremely simple python script to get Google maps directions/routes between two addresses and pretty print data to JSON file.

Must include a .env file with an API_KEY that contains
a valid api key for the Google Directions API.

pipenv/Python 3.8.3

  1. clone: git clone git@github.com:Jnavarr56/google-directions-api-script-demo.git
  2. create virtualenv: python -m venv venv
  3. activate virtualenv: . ./venv/bin/activate
  4. install dependencies pipenv install
  5. run: python script.py

Results printed to a results.json file.