Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Python wrapper for the REST API.

Project description

Python iGlobal

# Introduction
This library provides a python interface for the iGlobalStores API.

# Basic Usage

import iglobal

api = iglobal.Api(store_id="<store_id>", secret_key="<secret_key>")

# Fetch all iGlobal international Order Numbers
orders = api.all_orders()

# Fetch Order Numbers from certain date
orders = api.order_numbers(since_date='20151101')

# Fetch Order Details of specific order
order = api.order_details(order_id='999-99999')

# Update an Order with a new Merchant Order ID
response = api.update_merchant_order_id(order_id="123-1234", merchant_order_id="123456")

Responses are returned as Python namedtuples decoded from JSON. Non-200 responses from the API will raise an iGlobalException.

# Testing

To run the unit tests:


Project details

Download files

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

Files for python-iglobal, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size python-iglobal-0.1.2.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page