Sample project to illustrate how to authentifiy to Isogeo API with Client Credentials Grant flow and build a basic search form
DO NOT USE THIS CODE IN PRODUCTION
Run this sample:
client_secrets.json
file. If you don’t have, ask one to Isogeo!Create a virtualenv (PowerShell: py -3 -m venv env
), then activate it
Install prerequisites:
python -m pip install --upgrade -r requirements.txt
Run it:
# using autocompletion widgets and async/await
python isogeo_tk_search_form_py3_async.py
# using 'pure' ttk library
python isogeo_tk_search_form_pure.py