Python API consumer scripts to capture JSON data from https://travelriskapi.com
- requests
Install Python 3 and PIP then use the commands based on your installation.
pip install requests
Use demo key from this page or register to obtain free API Key
Replace <API Key> in main.py line 8 with your API Key or DEMO key
On cmd line run python ./main.py depends on local python install
[1] Get Country Data
[2] Get Risk Data
[3] Exit Script