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
- Address
- AddressData
- AddressList
- AddressValidation
- CarrierList
- CarrierSettings
- Charge
- Commodity
- CommodityData
- Customs
- CustomsData
- CustomsList
- Duty
- ErrorResponse
- Message
- Metadata
- Operation
- OperationConfirmation
- OperationResponse
- Parcel
- ParcelData
- ParcelList
- Payment
- Pickup
- PickupCancelData
- PickupCancelRequest
- PickupData
- PickupList
- PickupRequest
- PickupResponse
- PickupUpdateData
- PickupUpdateRequest
- Rate
- RateRequest
- RateResponse
- References
- Shipment
- ShipmentCancelRequest
- ShipmentData
- ShipmentList
- ShipmentPurchaseData
- ShipmentRateData
- ShippingRequest
- TokenObtainPair
- TokenPair
- TokenRefresh
- TokenVerify
- TrackerList
- TrackingEvent
- TrackingResponse
- TrackingStatus
- Webhook
- WebhookData
- WebhookList
- WebhookTestRequest
Author
Purplship Team | hello@purplship.com | purplship.com
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
953ce3c7657f367502aa2aa87d5f0f03eb31fcd79861f061c0b2e8ae537e5ddf
|
|
| MD5 |
ccdb6437eb3c34f3429bf97149086c86
|
|
| BLAKE2b-256 |
9f0f2e3c20fd76d1f42696ca49717221b98f869168d8436b6a3f76e33c49b65d
|