Skip to content

flagright/flagright-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flagright Python Library

pypi shield fern shield

The Flagright Python library provides access to the Flagright API from Python.

Documentation

API documentation is available at https://docs.flagright.com.

Usage

import flagright
from flagright.client import Flagright


client = Flagright(base_url="https://sandbox.flagright.com", api_key="YOUR_API_KEY")
resposne = client.transactions.verify(request=flagright.Transaction(
    transactionId='my-transaction-id',
    type=flagright.TransactionType.DEPOSIT,
    timestamp=1692624734000))


print(f'Received response from Flagright: "{resposne}"')