Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 657 Bytes

File metadata and controls

37 lines (24 loc) · 657 Bytes

Python SDK for Credyt.ai API

Getting started

Prequisites

  • Python 3.9 or later is required to use this package.

Install the package

Step into folder where setup.py is then run:

pip install credyt-api

Examples

def main():
    client = CredytApiClient(
        credential=ServiceKeyCredential(key=os.getenv("CREDYT_API_KEY")),
    )

    response = client.customers.get(
        customer_id="cust_4qh0wajx2n9qtazh2tghzkyan2",
    )
    print(response)


if __name__ == "__main__":
    main()

For more examples, check the samples folder.