Skip to main content

A SDK for Spreadconnect

Project description

Spreadconnect Python SDK

License

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: SpreadconnectWebsitebusiness@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


📄 License

This project is licensed under the Apache 2.0 License – see LICENSE for details.

Project details


Download files

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

Source Distribution

spreadconnect_python_sdk-1.0.0.tar.gz (29.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spreadconnect_python_sdk-1.0.0-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

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

Hashes for spreadconnect_python_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5f078f7e2f5ea5032d2f558c2b26a4decbc7c02710088a93167c34fb2f9db78f
MD5 2700e00c9196ccf1968278dbf28ef0df
BLAKE2b-256 f77266021401944c0a2f68665b6ffc8db44ec2923bf27ff7d0e3ad61418c81fc

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spreadconnect_python_sdk-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for spreadconnect_python_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff9ffee8ff3391e1750e4a514cd77fc8106754722487bf09ae4509bd7fb80fa1
MD5 34b22c3c8e61068de8ed68a3af943977
BLAKE2b-256 4d20ff442e1738ce26721aa428ba8a5a800f6b137d1ecb1467d7acf4e1166489

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page