From 07f578cb5a79299217269601a070d48c50c98708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= Date: Sat, 14 Jun 2025 10:35:12 +0100 Subject: [PATCH] Add usage example --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 991199f..d41a5e2 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,20 @@ | **BUDY_USERNAME** | `str` | `None` | The username to be used for authentication. | | **BUDY_PASSWORD** | `str` | `None` | The password to be user for authentication. | +## Example + +```python +import budy + +api = budy.API( + username="my_user", + password="my_password" +) + +api.login() +api.create_voucher_value(10) +``` + ## License Budy API is currently licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/).