Skip to main content

purplship Multi-carrier Shipping API Python client library

Project description

purplship-python

Purplship is a Multi-carrier Shipping API that simplifies the integration of logistic carrier services.

Visit purplship.com to deploy your private cloud multi-carrier shipping API instance.

Documentation

See the full Python API docs.

Requirements

Python >= 3.6

Installation & Usage

pip install

pip install purplship-python

Then import the package:

import purplship

Usage

Please follow the installation procedure and then run the following:

from __future__ import print_function
import purplship
from purplship.rest import ApiException
from pprint import pprint

# Configure API key authorization: Token
purplship.api_key = 'YOUR_API_KEY'
purplship.host = 'https://instance.purplship.api'

try:
    api_response = purplship.carriers.list()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling purplship.Carriers->list: %s\n" % e)

Documentation For Models

Author

Purplship Team | hello@purplship.com | purplship.com

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

purplship_python-2021.11-py2-none-any.whl (278.8 kB view details)

Uploaded Python 2

File details

Details for the file purplship_python-2021.11-py2-none-any.whl.

File metadata

  • Download URL: purplship_python-2021.11-py2-none-any.whl
  • Upload date:
  • Size: 278.8 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for purplship_python-2021.11-py2-none-any.whl
Algorithm Hash digest
SHA256 953ce3c7657f367502aa2aa87d5f0f03eb31fcd79861f061c0b2e8ae537e5ddf
MD5 ccdb6437eb3c34f3429bf97149086c86
BLAKE2b-256 9f0f2e3c20fd76d1f42696ca49717221b98f869168d8436b6a3f76e33c49b65d

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