Budy API Python client, to be used for simple synchronous integration.
| Name | Type | Default | Description |
|---|---|---|---|
| BUDY_BASE_URL | str |
http://localhost:8080/api/ |
The base URL that is going to be used for API connections. |
| BUDY_COUNTRY | str |
US |
The country as an ISO 3166-1 to be used for API interactions. |
| BUDY_CURRENCY | str |
USD |
The ISO 4217 code that describes the currency to be used for API interactions. |
| BUDY_USERNAME | str |
None |
The username to be used for authentication. |
| BUDY_PASSWORD | str |
None |
The password to be user for authentication. |
import budy
api = budy.API(
base_url="https://budy.my_instance.com/api/",
username="my_user",
password="my_password"
)
voucher = api.create_value_voucher(10)
print(voucher["key"])Budy API is currently licensed under the Apache License, Version 2.0.