flareio
is a light Flare API SDK that wraps requests and automatically manages authentication.
Usage examples and use cases are documented in the Flare API documentation.
flareio
is available on PyPI.
The library can be installed via pip install flareio
.
import os
from flareio import FlareApiClient
client = FlareApiClient(
api_key=os.environ["FLARE_API_KEY"],
tenant_id=None, # Use my default tenant.
)
resp = client.get("/tokens/test")
print(resp.json())
make test
will run testsmake format
format will format the codemake lint
will run typechecking + linting