SDK for accessing client resources programatically
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
thematic_client_sdk
.gitignore
README.md
requirements.txt
setup.py
setup.sh

README.md

Thematic Client SDK

This package can be used to authorize and access the thematic client via API. It is a thin wrapper around the existing API endpoints.

Installation

setup.sh is provided for creating a virtual environment for testing or setup.py for installing as a package in an existing environment

Scripts

thematic-client-auth

An interactive auth script is included for generating a refresh token. This token can be exchanged for an access-token each time the API is used. Access tokens have a limited lifetime so should be renewed regularly.

Tokens

Refresh tokens have a very long lived lifetime so should be kept secret! They can be invalidated in the client UI or programatically using the API. When a refresh token is invalidated it can not be recovered.

Example

There is an example in 'examples' of interacting with the sdk.