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.2.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file squarespace-0.0.2.tar.gz
.
File metadata
- Download URL: squarespace-0.0.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4c13a9eff8fc0b30d1532af2dbc66637a705b10267a9c9152ac6e5cd4816562 |
|
MD5 | 3a55741ec9589ca96f77eb688480b440 |
|
BLAKE2b-256 | 549b4fae37b2d600e69c3fb0d905a24a61f17ea2ef9e86720c7c86d8fcdffb9e |
File details
Details for the file squarespace-0.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: squarespace-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f57fa043ce27db7891e43c768c2a88c2e73ff0875b9847ff15eb38f2532fc2e5 |
|
MD5 | 0d49df352d3c12470a529376224e50f5 |
|
BLAKE2b-256 | db5748c92717b707c23dcb3a8da430a89232be47a77919aad49d11453a17467e |