Aiosmartpost

Latest version: v0.3.3

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

Scan your dependencies

0.3.3

Added

- Add basic error handling in `Client.get_labels_pdf`

0.3.2

Added

- Add synchronous `aiosmartpost.sync.Client`
- Add `read_timeout` parameter to client so that some `httpx.ReadTimeout` errors can be avoided

Fixed

- Fix HTTPX client usage to prevent concurrent access issues

0.3.1

Fixed

- Use key "orders" instead of "errors" in API errors processing

0.3.0

Changed

- Raise `ShipmentOrderError` in `Client.add_shipment_orders` on error
- Process optional fields in `ShipmentOrder.to_xml`

0.2.0

Changed

- Change `ee_destinations` name in `smartpost.Client` to `get_ee_terminals` to better communicate what is actually returned
- Change `ee_express_destinations` name in `smartpost.Client` to `get_ee_express_terminals` to better communicate what is actually returned

Added

- Add `get_fi_terminals` method to `smartpost.Client` for getting Finnish terminals list
- Add `get_fi_post_offices` method to `smartpost.Client` for getting Finnish post offices list
- Add `add_shipment_orders` method to `smartpost.Client` for adding new shipment orders to SmartPost system
- Add `get_labels_pdf` method to `smartpost.Client` for getting PDF files with shipment order labels

0.1.0

Added

- Add async `Client` wrapper (`smartpost.Client`)
- Add `ee_destinations` method to `smartpost.Client` for getting Estonian destinations list
- Add `ee_express_destinations` method to `smartpost.Client` for getting Estonian destinations with express delivery list

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.