Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Sample project to illustrate how to authentifiy to Isogeo API with Client Credentials Grant flow and build a basic search form

License

Notifications You must be signed in to change notification settings

isogeo/api-sample-oauth2-ccg-py

Repository files navigation

Isogeo User oAuth2 example - Desktop Search Form

DO NOT USE THIS CODE IN PRODUCTION

Usage

Run this sample:

  1. Clone/download this repository
  2. Open a prompt (bash, powershell...),
  3. Move into this directory
  4. Paste your client_secrets.json file. If you don't have, ask one to Isogeo!

With your installed Python

  1. Create a virtualenv (PowerShell: py -3 -m venv env), then activate it

  2. Install prerequisites:

    python -m pip install --upgrade -r requirements.txt
  3. 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

About

Sample project to illustrate how to authentifiy to Isogeo API with Client Credentials Grant flow and build a basic search form

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages