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.2.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.2-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for shipthisapi_python-3.1.2.tar.gz
Algorithm Hash digest
SHA256 f0ed3597ec249e2df4e6dab07ae5eea24b3497d8785db9f49016bdb9822e8063
MD5 b4c459fd1865259729227ec21f0438bb
BLAKE2b-256 7ae3bffbca26484d8e1d2e65df2aba2a4b8a3c3f762d451b90be643a73122a62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shipthisapi_python-3.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 593d691a43f9f243417efdd5c05af7339965b675ef06d3a8d1d39b3217583ef6
MD5 a29aec0d4be1c31759781e5130d5a2a0
BLAKE2b-256 b775fb7b98b9767ab89499f63c09320ceb320f0eeff2ca192927f41d31c61a0b

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