Skip to main content

Python client for the Siigo API

Project description

siigo_connector — Python client for the Siigo API

[!WARNING] Status: Under development (alpha). Breaking changes may occur.

A small, typed client for Siigo. It handles auth (JWT with username + access_key + Partner-Id), retries, and pagination so you can call Python methods instead of crafting HTTP requests.

Requires Python 3.9+

Install

Create and activate a virtual environment and then install FastAPI:

pip install siigo-connector

Usage

Create the Client instance

from src.siigo_connector import client as siigo

c = siigo.Client(
    username="siigoapi@pruebas.com",
    access_key="<access_token>",
    partner_id="myapp",  # short, no spaces
)

Customers

for cust in c.customers.list(created_start="2024-08-30"):
    print(cust)

Close the connection after at the end

c.close()

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

siigo_connector-0.1.7.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

siigo_connector-0.1.7-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: siigo_connector-0.1.7.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for siigo_connector-0.1.7.tar.gz
Algorithm Hash digest
SHA256 5c571ecd5e75e5d30e4fcbe1f5b5e72ed1602a5de04c65cb02a3254e6b7cc179
MD5 10ee6e379caf7d6fe21c41a10c300d8e
BLAKE2b-256 94f2d75c0ad189e2cc3415a1df766e078d5a0a67e7601c85dd415a0484a2d582

See more details on using hashes here.

Provenance

The following attestation bundles were made for siigo_connector-0.1.7.tar.gz:

Publisher: release-pypi.yml on arendondiosa/siigo-connector-py

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

File details

Details for the file siigo_connector-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for siigo_connector-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 51d46246f3e60e0b8e6d235e11c4a2423004a9d4cc41cb7bd3e6230f57b62dce
MD5 868b065ba1723b832b509eb7cb3a72b8
BLAKE2b-256 e7aa8c8b4d056e5c9d4b9380ba7d83e9a0a9433c2544ffc4346d138acfe0ca4d

See more details on using hashes here.

Provenance

The following attestation bundles were made for siigo_connector-0.1.7-py3-none-any.whl:

Publisher: release-pypi.yml on arendondiosa/siigo-connector-py

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