Releases: AbacatePay/abacatepay-python-sdk
Releases · AbacatePay/abacatepay-python-sdk
v.1.0.9
Async mode! 🎉
What's Changed
- Add code quality tools, improve typing and fix inconsistencies by @LeandroDeJesus-S in #23
- Creation of the SDK documentation, closes #4 by @LeandroDeJesus-S in #24
- ci: add code quality gate pipeline by @rogelho-junior in #26
- Alter CustomerInline model and BILLING_STATUS constant by @nascin in #27
- Add async support by @caua1503 in #28
New Contributors
- @rogelho-junior made their first contribution in #26
- @nascin made their first contribution in #27
- @caua1503 made their first contribution in #28
Full Changelog: v1.0.5...v1.0.6
v1.0.5
Pix QR CODE! 🎉
Now, you can finally create a Pix charge and receive the Qr code directly!
Usage:
import abacatepay
from abacatepay.pixQrCode import PixQrCodeIn
import logging
key = "TOKEN" #without the "Bearer " prefix!
logging.basicConfig(level=logging.DEBUG)
client = abacatepay.AbacatePay(key)
cliente_a =abacatepay.customers.CustomerMetadata(tax_id="123.456.789-00", name="Cliente A", email="a@gmail.com", cellphone="11999999999")
pix_charge = client.pixQrCode.create(data=PixQrCodeIn(
amount=750,
expires_in=2000,
description="Pagamento de teste",
customer=cliente_a
))
print(pix_charge.id)
print(pix_charge.brcode)More details in 27209e3!
v1.0.4
This version just adds small fixes
v1.0.3
v1.0.2
What's Changed
- Feature/GitHub actions and pre commit by @JoaquimCassano in #11
- Feat/GitHub action tests by @JoaquimCassano in #12
- 🥑 refactor: padronizar BASE_URL e USER_AGENT by @JulioPeixoto in #14
- Folder refactor by @JoaquimCassano in #15
- Docs:update readme by @meiazero in #16
- simply and fix client interface by @LeandroDeJesus-S in #17
- feature: Project structure separated by domain by @LeandroDeJesus-S in #18
- docs: Fix README examples imports. by @LeandroDeJesus-S in #19
- Feature/improve models by @LeandroDeJesus-S in #20
New Contributors
- @JulioPeixoto made their first contribution in #14
- @meiazero made their first contribution in #16
- @LeandroDeJesus-S made their first contribution in #17
Full Changelog: v1.0.1...v1.0.2
v1.0.1
Changes/fixes
- Changed the logger calls from
warningtodebug(c90b605) - Changed minimum python version from 3.12 to 3.10 (2ae8f24)
- Added a.py to gitignore (59fe54a)
New features
- Added the new customer features (create and list customers) (c90b605)
Usage:
Create customer
import abacatepay
token = "key here"
client = abacatepay.AbacatePay(token)
print(client.create_customer(
abacatepay.Customer(
taxId="123456789",
name="John Doe",
email="a@b.c",
cellphone="123456789"
))
)List customers
import abacatepay
token = "token"
client = abacatepay.AbacatePay(token)
print(client.list_customers())TODO
- Add tests to the customers feature
Full Changelog: v1.0.0...v1.0.1
First official release! 🎉
What's Changed from the 0.1.0
- small review by @eletroswing in #2
- Arruma formatação, adiciona novas boas práticas de Python e adiciona mock de requisições a API by @vmesel in #6
New Contributors
- @eletroswing made their first contribution in #2
- @vmesel made their first contribution in #6
Full Changelog: https://github.com/AbacatePay/abacatepay-python-sdk/commits/v1.0.0