Skip to main content

A simple class-based Python client for getting data from the VeraCore REST API

Project description

Build Status Documentation Status Deployment Status

The VeraCore API Client is a basic VeraCore.com REST API client built for Python.

Compatibility & Unit Testing are actively done against Python 3.8 and 3.9.


You can find out more regarding the API in the Official VeraCore.com REST API Documentation

The Swagger documentation can be found here: https://{domain}.veracore.com/VeraCore/Public.Api/swagger/ui/index

  • Replace {domain} with your VeraCore domain name

Examples

Retrieving orders that are in an unprocessed state:

from veracore_api_client import VeraCore
from veracore_api_client.constants import ORDER_STATUS_UNPROCESSED


veracore = VeraCore(username='APIUsername', password='APIPassword', system_id='APISystemID', domain='VCDomain.veracore.com')
orders = veracore.get_orders(order_status=ORDER_STATUS_UNPROCESSED)

for order in orders:
  print('ID: %s | Status: %s | Stream: %s | Ordered By: %s | Ship To: %s' % (
     order['ID'], order['CurrentOrderStatus'], order['OrderClassification']['OrderProcessingStream'],
     order['OrderedBy']['Name'], ','.join([shipment['ShipTo']['Name'] for shipment in order['Shipments']])
  ))

Authors & License

This package is released under an open source GNU General Public License v3 or later (GPLv3+) license. This package was originally created by Eli Keimig.

The latest build status can be found at Travis CI

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

veracore_api_client-0.0.3a2.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

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

veracore_api_client-0.0.3a2-py2.py3-none-any.whl (18.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file veracore_api_client-0.0.3a2.tar.gz.

File metadata

  • Download URL: veracore_api_client-0.0.3a2.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.1

File hashes

Hashes for veracore_api_client-0.0.3a2.tar.gz
Algorithm Hash digest
SHA256 56d985ff0e2bfdf684dcef840cdc843ef608ac788eb65a3df2454b33169c6b06
MD5 569249f87673a81ad7050b11ec068391
BLAKE2b-256 9410664d746804ddbbdb49f8a3e3d46fc39ef0e9736065384233ebf82024794f

See more details on using hashes here.

File details

Details for the file veracore_api_client-0.0.3a2-py2.py3-none-any.whl.

File metadata

  • Download URL: veracore_api_client-0.0.3a2-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.1

File hashes

Hashes for veracore_api_client-0.0.3a2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 55b26e136f63c19f605f18d2e20c3dba6c9c9a60589ddd77e14406de6ae71810
MD5 764ec47c04e5802d67d099366016c360
BLAKE2b-256 97e2fb3a89f18389275a103c7e2d918a9ce79dfa99b1e5ea09ff02ca11c8c175

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