karrio universal Shipping API Python client library
Project description
karrio-python
Karrio is a Multi-carrier Shipping API that simplifies the integration of logistic carrier services.
Visit karrio.io 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 karrio-python
Then import the package:
import karrio
Usage
Please follow the installation procedure and then run the following:
from __future__ import print_function
import karrio
from karrio.rest import ApiException
from pprint import pprint
# Configure API key authorization: Token
karrio.api_key = 'YOUR_API_KEY'
karrio.host = 'https://api.karrio.io'
try:
api_response = karrio.carriers.list()
pprint(api_response)
except ApiException as e:
print("Exception when calling karrio.carriers->list: %s\n" % e)
Documentation For Models
- Address
- AddressData
- AddressList
- AddressValidation
- CarrierList
- CarrierSettings
- Charge
- Commodity
- CommodityData
- Customs
- CustomsData
- CustomsList
- Documents
- Duty
- ErrorResponse
- Message
- Metadata
- Operation
- OperationConfirmation
- OperationResponse
- Order
- OrderData
- OrderList
- OrderUpdateData
- Parcel
- ParcelData
- ParcelList
- Payment
- Pickup
- PickupCancelData
- PickupCancelRequest
- PickupData
- PickupList
- PickupRequest
- PickupResponse
- PickupUpdateData
- PickupUpdateRequest
- Rate
- RateRequest
- RateResponse
- References
- Shipment
- ShipmentCancelRequest
- ShipmentData
- ShipmentList
- ShipmentPurchaseData
- ShipmentRateData
- ShipmentUpdateData
- ShippingRequest
- ShippingResponse
- TokenObtainPair
- TokenPair
- TokenRefresh
- TokenVerify
- TrackerList
- TrackingEvent
- TrackingResponse
- TrackingStatus
- Webhook
- WebhookData
- WebhookList
- WebhookTestRequest
Author
Team Karrio | hello@karrio.io | karrio.io
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
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file karrio_python-2022.3-py2-none-any.whl
.
File metadata
- Download URL: karrio_python-2022.3-py2-none-any.whl
- Upload date:
- Size: 314.0 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.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6327f2ee82a0c64558de19fd81179664533c2e9b2534426ea72552cec3bc0ad |
|
MD5 | be32824d4a6b9d92ce175470eddf48dd |
|
BLAKE2b-256 | 16462b2cc74605334ee76b192249f59511ddf3f36c9f9138d99bf045337f0f86 |