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.3 (2015-10-20)

  • Remove assertions from API facade

0.3.2 (2015-08-14)

  • Added shipment.track to schema

0.3.1 (2015-08-07)

  • Added missing schematics requirements at setup.py

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.3.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

parcelbright-0.3.3-py2.py3-none-any.whl (6.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file parcelbright-0.3.3.tar.gz.

File metadata

File hashes

Hashes for parcelbright-0.3.3.tar.gz
Algorithm Hash digest
SHA256 267f73ec3ae243bdff642e2623ebf2f9ff3e75391c84800441b4f8397b1f11db
MD5 449b2d61f57084f4b5b54c16534be0dc
BLAKE2b-256 75ed959e1a190006a6bf9dc4f424ab392584fe267c095296386dcced21d33f10

See more details on using hashes here.

File details

Details for the file parcelbright-0.3.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for parcelbright-0.3.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fab13ddc535ab36fc18b82eec225dd2736fed6c4d9bc688fc2ad7bb6ee62979f
MD5 5d3c282f76fb00cb06fd7eeab28f91fa
BLAKE2b-256 e953fdc6a989b56cc603d4d2628f79544c4def02736f0102c7f2c139b8ccdae4

See more details on using hashes here.

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