Tw-invoice

Latest version: v2023.9.6

Safety actively analyzes 625786 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

2023.9.6

🌟 Features
- [feat] add timeout by erik1110 in https://github.com/tomy0000000/tw-invoice/pull/8

⚙️ Internal
- [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/tomy0000000/tw-invoice/pull/6

New Contributors
- erik1110 made their first contribution in https://github.com/tomy0000000/tw-invoice/pull/8

**Full Changelog**: https://github.com/tomy0000000/tw-invoice/compare/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 with `skip_validation` when initialize client

🐞 Bug fixes
* Add `invoice_random` parameter to `get_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 now `barcode_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

2022.6.18b1

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` | 手機條碼歸戶載具查詢 |

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.