A module to get information pending parcels.
Project description
pyaftership
A module to get information pending parcels.
Notes
This has been tested with python 3.6
This module uses these external libararies:
- requests
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.4.tar.gz
(1.9 kB
view hashes)