Skip to main content

ShipthisAPI 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'))

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-1.2.0.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

shipthisapi_python-1.2.0-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

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