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.1.0.tar.gz (10.0 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.1.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shipthisapi_python-3.1.0.tar.gz
  • Upload date:
  • Size: 10.0 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.1.0.tar.gz
Algorithm Hash digest
SHA256 96adda555a0c3a37c3102fdca1848f303a61e7e66fbc746e95c2c44d6abc0d7a
MD5 7370a23d27e308ba7cfcd24154b61354
BLAKE2b-256 919080625b68f1a2befc94712b6cdf1a680da3239508872a1f2171c414e2e88c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shipthisapi_python-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0fac2203b2d51d015e0bc3248a47ae1d387da201e55b0713d7f1d41f39320ec2
MD5 31aa0d1b53e8fca4efd376c10f117283
BLAKE2b-256 00cb1ec80cc34d23bcf756874790e644e6947709c0e1eaf94d504cbad3b1e564

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