This repository is not maintained anymore. Chat with us if you want to help maintain a Python client for Karrio at https://github.com/karrioapi/karrio
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.
See the full Python API docs.
Python >= 3.6
pip install karrio-python
Then import the package:
import karrio
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)
- 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
Team Karrio | hello@karrio.io | karrio.io