Skip to main content

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


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pyaftership-0.0.4.tar.gz (1.9 kB) Copy SHA256 hash SHA256 Source None Aug 30, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page