Releases: tomy0000000/tw-invoice
Releases · tomy0000000/tw-invoice
2023.9.6
🌟 Features
⚙️ Internal
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #6
New Contributors
Full Changelog: 2023.4.9...2023.9.6
2023.4.9
🌟 Features
- Bump API specification to v1.8
- Automatically retry when API error
⚙️ Internal
- pre-commit auto-update by @pre-commit-ci
- Adding tests for Python 3.11, official support coming in the next release
2022.6.27
🌟 Features
- Validate API response with
pydantic
, you can opt-out this feature withskip_validation
when initialize client
🐞 Bug fixes
- Add
invoice_random
parameter toget_invoice_detail
2022.6.20
🌟 Features
- The module is now fully tested for production use
- Type hint is more expressive now with
Union[str, None]
indicate optional,Literal
for string choice - Methods now raises a custom exception if request failed
🧨 Breaking Changes
type
parameters is nowbarcode_type
🐞 Bug fixes
- Add
ts_tolerance
parameter on client initialization that will be added when sending request, to prevent 951 connection expiration - The correct
invoice number
could not match regex test, this is now fixed
🎉 First Release
Features
- Implement eight main application API method
Method name | 中文名稱 |
---|---|
get_lottery_numbers |
查詢中獎發票號碼清單 |
get_invoice_header |
查詢發票表頭 |
get_invoice_detail |
查詢發票明細 |
get_love_code |
捐贈碼查詢 |
get_carrier_invoices_header |
載具發票表頭查詢 |
get_carrier_invoices_detail |
載具發票明細查詢 |
carrier_donate_invoice |
載具發票捐贈 |
get_aggregate_carrier |
手機條碼歸戶載具查詢 |