Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
/ karrio-python Public archive

Universal Shipping API Python library (Canada Post, DHL, FedEx, UPS, Purolator and more)

License

Notifications You must be signed in to change notification settings

karrioapi/karrio-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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-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

Author

Team Karrio | [email protected] | karrio.io