This repository contains example code for communicating with the concrexit API. The code is written in Python and uses the requests library. Authentication is done using OAuth2.0 (which is the main feature of this repository).
4 different ConcrexitAPIServices are provided, implementing different oauth flows:
ConcrexitWebAPIServiceuses the authorization code grant flow with PKCEConcrexitImplicitAPIServiceuses the implicit grant flowConcrexitLegacyAPIServiceuses the resource owner password credentials grant flowConcrexitBackendAPIServiceuses the client credentials grant flow
The code in this repository is not meant to be used in production, but rather as an example of how to use the concrexit API.