- Python 3.9 or later is required to use this package.
Step into folder where setup.py is then run:
pip install credyt-apidef 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.