A module to get information pending parcels.
Project description
pyaftership ![Build Status](https://pypi-camo.freetls.fastly.net/76f4d066629e84fb05bb742c56fd8a482713833f/68747470733a2f2f7472617669732d63692e6f72672f6c7564656575732f70796166746572736869702e7376673f6272616e63683d6d6173746572)
A module to get information pending parcels.
Install
pip install pyaftership
Sample usage
from pyaftership import AfterShip
api_key = '9781915b342514bf0dede6e3d058a'
after_ship = AfterShip()
# Get parcel information:
result = after_ship.get_trackings(api_key)
# Print the result:
print(result)
# Add parcel information
result = after_ship.add_tracking(api_key, slug, title, tracking_number)
# Print the result:
print(result)
# Delete parcel information
result = after_ship.delete_tracking(api_key, slug, tracking_number)
# Print the result:
print(result)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyaftership-0.0.5.tar.gz
(1.9 kB
view hashes)