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

Latest commit

 

History

History
executable file
·
120 lines (98 loc) · 3.56 KB

README.md

File metadata and controls

executable file
·
120 lines (98 loc) · 3.56 KB

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