Library to access the Squarespace Commerce API.
Project description
# squarespace-python
Python module to access the Squarespace Commerce API.
This library provides pythonic access to the Squarespace Commerce API that
can be found here:
http://developers.squarespace.com/commerce-api
At the time of this writing this API is in private beta and therefore
your store may not have the ability to generate API keys.
## Usage
from squarespace import Squarespace
store = Squarespace('<my_api_key_that_I_generated>')
for order in store.orders(): # Iterate through 20 orders
print(order['order_number'])
for order in store.next_page(): # Iterate through another 20 orders
print(order['order_number'])
## Installation
`$ pip install squarespace`
## Disclaimer
This project's author is not employed by or affiliated with Squarespace
beyond being a happy customer who wanted to write his own shipping
integration. Use of this software is entirely at your own risk. Neither
Zach White, Clueboard, nor Squarespace can be held responsible for how
you employ this module.
Authors:
Zach White <skullydazed@gmail.com>
Python module to access the Squarespace Commerce API.
This library provides pythonic access to the Squarespace Commerce API that
can be found here:
http://developers.squarespace.com/commerce-api
At the time of this writing this API is in private beta and therefore
your store may not have the ability to generate API keys.
## Usage
from squarespace import Squarespace
store = Squarespace('<my_api_key_that_I_generated>')
for order in store.orders(): # Iterate through 20 orders
print(order['order_number'])
for order in store.next_page(): # Iterate through another 20 orders
print(order['order_number'])
## Installation
`$ pip install squarespace`
## Disclaimer
This project's author is not employed by or affiliated with Squarespace
beyond being a happy customer who wanted to write his own shipping
integration. Use of this software is entirely at your own risk. Neither
Zach White, Clueboard, nor Squarespace can be held responsible for how
you employ this module.
Authors:
Zach White <skullydazed@gmail.com>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
squarespace-0.0.1.tar.gz
(3.0 kB
view details)
Built Distribution
File details
Details for the file squarespace-0.0.1.tar.gz
.
File metadata
- Download URL: squarespace-0.0.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ee8040d783b0e7d554e0b255c9536a4b4c78f81cc8a82dbd01c6ae44a4f51d5 |
|
MD5 | 8d63567aeb7616018dc57c6c26c617cf |
|
BLAKE2b-256 | 054a6fc0223d26d39dffc5d65ab0748c2224fdd4681cdb9248d3d82906e88f49 |
File details
Details for the file squarespace-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: squarespace-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9179b78e8dd7206335d78d2cf7e1776b346aeadc619c86fda407e2b4de6b818d |
|
MD5 | 471d7e54af27d5b1b455848dbec389f0 |
|
BLAKE2b-256 | 447deaf26aa95519618085b810f054a9430ede3bf033d9bccfa6d573994cf8df |