Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 825 Bytes

README.md

File metadata and controls

35 lines (21 loc) · 825 Bytes

python-flareio

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.

Installing

flareio is available on PyPI.

The library can be installed via pip install flareio.

Basic Usage

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())

Contributing

  • make test will run tests
  • make format format will format the code
  • make lint will run typechecking + linting