Skip to main content

ParcelBright API wrapper

Project description

https://img.shields.io/travis/onjin/parcelbright-python.svg https://img.shields.io/pypi/v/parcelbright.svg

ParcelBright API wrapper. For full ParcelBright API reference go to https://github.com/parcelbright/api-docs

Features

  • create new shipment to get rates from

  • find previously created shipment

  • book shipment

  • get tracking data

  • cancel shipment

TODO

  • Customs support

  • Carriers liability support

History

0.3.0 (2015-08-07)

  • API CHANGED - Entities constructor takes dict instead of kwargs

  • API CHANGED - Shipment.create becames instance method instead of class method

  • Added entities validation using schematics package

0.2.3 (2015-07-29)

  • Support for pickup_date parameter at Shipment.book() method

  • Added __repr__ method to Parcel, Address and Shipment entities

0.2.2 (2015-07-29)

  • Raise TrackingError from Shipment.track() if shipment has not tracking information available

0.2.1 (2015-07-29)

  • Remove Shipment.is_booked() method. Use Shipment.state instead.

  • Raise ShipmentNotCompletedException from Shipment.track() method

0.2.0 (2015-07-28)

  • Added support to track and cancel shipments

0.1.0 (2015-07-27)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

parcelbright-0.3.0.tar.gz (15.4 kB view hashes)

Uploaded Source

Built Distribution

parcelbright-0.3.0-py2.py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page