Skip to main content

ShipthisAPI async utility package

Project description

ShipthisAPI Python

PyPI version

A Python wrapper package for ShipthisAPI for making api calls using python.

Features

  • Demo setup with demo.py
  • Simple Step API calls.

Quickstart

Install the latest shipthisapi-python if you haven't installed it yet.

pip install shipthisapi-python

Generate a API Key For your Organisation

from ShipthisAPI.shipthisapi import ShipthisAPI

x_api_key = '<your_api_key>'
organisation = 'demo'
region_id='<your_region_id>'
location_id='<your_location_id>'


shipthisapi = ShipthisAPI(organisation=organisation, x_api_key=x_api_key, region_id=region_id, location_id=location_id)


# Get Organisation/User Info 

print(shipthisapi.info())


# Get Invoice Collection List

print(shipthisapi.get_list(collection_name='invoice'))

# Get all Sea list

print(shipthisapi.get_list(collection_name="sea_shipment", params={"count": 2}))

Documentation

For more details related to available fields and operations check our developer portal

Available Operations

  • Get Organisation / User Information
  • Create New Collection Entry
  • Update Collection
  • Get Collection Items
  • Delete an existing collection item

Support

If you have any queries related to usage of the api please raise a issue here

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shipthisapi_python-3.0.5.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shipthisapi_python-3.0.5-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file shipthisapi_python-3.0.5.tar.gz.

File metadata

  • Download URL: shipthisapi_python-3.0.5.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for shipthisapi_python-3.0.5.tar.gz
Algorithm Hash digest
SHA256 67297a92c76b22e6446ed4d5d7deb688cc27dadef6a0282c6e391957340955cc
MD5 5904a3f7de26592825839551950668d1
BLAKE2b-256 456316a87e996d10842443062abceb0bb9cb806b6000e540e40a7b3ed3a1c1e8

See more details on using hashes here.

File details

Details for the file shipthisapi_python-3.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for shipthisapi_python-3.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9e9e674c7cac7947b50c2c2ffbabb07c8ad31cee5c94e61946bb0474f9d16289
MD5 58a7012cf198d36e72c1456e9241ac16
BLAKE2b-256 52bd834a6f2599a1284cf18e1ec551ad7da28ed00a2ac81d5ae8dbe421ee220f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page