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

Uploaded Python 3

File details

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

File metadata

  • Download URL: spreadconnect_python_sdk-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 035f3f4c55880af813e26ab2babaf01fa3f61dbe5f7bf7d2b2c4330f75c439a9
MD5 fc72497f648db303fafbb6e3b722c5ce
BLAKE2b-256 25f03f4a98db87efbe8937bc75cf5dd976b7e88042f51fe05bf97432e84613d7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for spreadconnect_python_sdk-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 467c5de1b52d615250208e33909004e7b7f5f48fecbaaa7c0e7c8d1e3023254f
MD5 22d8677ad1a8bc87daf66c4e1bab54c5
BLAKE2b-256 e233e59104da0c7e318d7ab5dd04f8ea805cb64aa714a447df41d36e78edaddc

See more details on using hashes here.

Provenance

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