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-0.1.7.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-0.1.7-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

Details for the file spreadconnect_python_sdk-0.1.7.tar.gz.

File metadata

  • Download URL: spreadconnect_python_sdk-0.1.7.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-0.1.7.tar.gz
Algorithm Hash digest
SHA256 665a8521dba411bf055fae15d0b0db3fda43c7429cd9d1014489454c4792fb68
MD5 47d12d67e69b080fa8f629ad239e37e3
BLAKE2b-256 d9e2d0a144b28b9e51b06e5005e6ae476a6801a5551f6173071fae1a5696d1df

See more details on using hashes here.

Provenance

The following attestation bundles were made for spreadconnect_python_sdk-0.1.7.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-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for spreadconnect_python_sdk-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 453435cbe06e792e888c78c9c3ddc1b579935e64b2b635c7f6392f3e36b09575
MD5 60885d1822f598b008c13b49d625da17
BLAKE2b-256 7f4a3e3cccfff40f6d74b1f1882b6c072032ad74e16eb331ec317ecba4d3c868

See more details on using hashes here.

Provenance

The following attestation bundles were made for spreadconnect_python_sdk-0.1.7-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