Skip to main content
Python iGlobal

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


# Basic Usage

```python
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:

```
python test.py
```

Download files

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

Source Distribution

python-iglobal-0.1.2.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file python-iglobal-0.1.2.tar.gz.

File metadata

File hashes

Hashes for python-iglobal-0.1.2.tar.gz
Algorithm Hash digest
SHA256 57e70879b6cce5818ab21a1585dd44d40cca87a0d860ce3e890166f9f23cf38c
MD5 22895eddb93771d634cbcf94ad8aca91
BLAKE2b-256 48ca644e99ef86ca6c521f761eaa49a45f04314787aa21eac0735ed179f33d4c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 file

0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page