Skip to content

hivesolutions/budy-api

Repository files navigation

Budy API Python client, to be used for simple synchronous integration.

Configuration

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.

Example

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"])

License

Budy API is currently licensed under the Apache License, Version 2.0.

Build Automation

Build Status Build Status GitHub Coverage Status PyPi Status License

About

Budy API Python client

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages