SDK
Python SDK
Flare has a Python SDK available on PyPI. It is a light wrapper around requests that automatically manages API authentication.
Links
Installing
Basic Usage
The flareio
package provides the FlareApiClient
class, which automatically manages
authentication and exposes get
, post
, put
, and delete
methods.
Basic Usage Example
Paging Util
The FlareApiClient
has a scroll
method that can be used with endpoints that support the
Flare standard paging pattern .
Paging Util Example
Custom Session
The FlareApiClient
can be initialized with a custom requests.Session
. This allows, for example,
to inject custom retry configuration.
Custom Session
Was this page helpful?