A SDK for Spreadconnect
Project description
Spreadconnect Python SDK
A Python SDK for the Spreadconnect API, developed by SHOP4FANS. This SDK provides a simple way to interact with the Spreadconnect REST API to manage articles, orders, product types, stock levels, designs, and subscriptions.
Note: This SDK is not an official product of Spreadconnect. Spreadconnect is operated by a third party: Spreadconnect – Website – business@spreadconnect.app Terms of Service: View here
📦 Installation
pip install spreadconnect-python-sdk
🚀 Quick Start
1. Import & Initialize
from spreadconnect_python_sdk import Spreadconnect
spreadconnect = Spreadconnect(
base_url="https://api.spreadconnect.app", # or staging: https://api.spreadconnect-staging.app
token="YOUR_API_TOKEN",
)
2. Example: List Subscriptions
subs = spreadconnect.subscriptions.list()
for s in subs.__root__:
print(s.id, s.event_type, s.url)
3. Example: List Articles
articles = spreadconnect.articles.list(limit=10)
for art in articles.items or []:
print(art.title, art.id)
📚 Supported API Modules
The SDK wraps the main Spreadconnect API endpoints:
| API Module | Class | Example Call |
|---|---|---|
| Articles | ArticlesApi |
spreadconnect.articles.list(limit=10) |
| Orders | OrdersApi |
spreadconnect.orders.get(order_id) |
| Subscriptions | SubscriptionsApi |
spreadconnect.subscriptions.create({...}) |
| Product Types | ProductTypesApi |
spreadconnect.product_types.list() |
| Stocks | StocksApi |
spreadconnect.stocks.list() |
| Designs | DesignsApi |
spreadconnect.designs.upload(...) |
🔗 Useful Links
-
Official Spreadconnect API Documentation: https://api.spreadconnect.app/docs/
-
Spreadconnect Website: https://www.spreadshop.com/spreadconnect
-
SHOP4FANS Website: https://shop4fans.io
📄 License
This project is licensed under the Apache 2.0 License – see LICENSE for details.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spreadconnect_python_sdk-1.0.0.tar.gz.
File metadata
- Download URL: spreadconnect_python_sdk-1.0.0.tar.gz
- Upload date:
- Size: 29.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f078f7e2f5ea5032d2f558c2b26a4decbc7c02710088a93167c34fb2f9db78f
|
|
| MD5 |
2700e00c9196ccf1968278dbf28ef0df
|
|
| BLAKE2b-256 |
f77266021401944c0a2f68665b6ffc8db44ec2923bf27ff7d0e3ad61418c81fc
|
Provenance
The following attestation bundles were made for spreadconnect_python_sdk-1.0.0.tar.gz:
Publisher:
python-publish.yml on SHOP4FANS/spreadconnect-python-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spreadconnect_python_sdk-1.0.0.tar.gz -
Subject digest:
5f078f7e2f5ea5032d2f558c2b26a4decbc7c02710088a93167c34fb2f9db78f - Sigstore transparency entry: 552235348
- Sigstore integration time:
-
Permalink:
SHOP4FANS/spreadconnect-python-sdk@0205582e1721281259b49037c7e32bd00f3a4018 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/SHOP4FANS
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@0205582e1721281259b49037c7e32bd00f3a4018 -
Trigger Event:
release
-
Statement type:
File details
Details for the file spreadconnect_python_sdk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: spreadconnect_python_sdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 25.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff9ffee8ff3391e1750e4a514cd77fc8106754722487bf09ae4509bd7fb80fa1
|
|
| MD5 |
34b22c3c8e61068de8ed68a3af943977
|
|
| BLAKE2b-256 |
4d20ff442e1738ce26721aa428ba8a5a800f6b137d1ecb1467d7acf4e1166489
|
Provenance
The following attestation bundles were made for spreadconnect_python_sdk-1.0.0-py3-none-any.whl:
Publisher:
python-publish.yml on SHOP4FANS/spreadconnect-python-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spreadconnect_python_sdk-1.0.0-py3-none-any.whl -
Subject digest:
ff9ffee8ff3391e1750e4a514cd77fc8106754722487bf09ae4509bd7fb80fa1 - Sigstore transparency entry: 552235369
- Sigstore integration time:
-
Permalink:
SHOP4FANS/spreadconnect-python-sdk@0205582e1721281259b49037c7e32bd00f3a4018 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/SHOP4FANS
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@0205582e1721281259b49037c7e32bd00f3a4018 -
Trigger Event:
release
-
Statement type: