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

Uploaded Python 3

File details

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

File metadata

  • Download URL: siigo_connector-0.1.8.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.8.tar.gz
Algorithm Hash digest
SHA256 128b1523d979f3b2663f9023f111c6d1f546fa0cf90c53d3819c612e01904d4a
MD5 10fd98a989bd53d24084963283df9923
BLAKE2b-256 78015e1f4048c6d00d233848ae287bd458e736394ee19b9f0da9256a7d13c8b0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for siigo_connector-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ff28a07efb944fff4e774220d713758ab4f863b3f4cdf0448468b052c610d448
MD5 2740b5a8c16ab735536118b6b6b9cd2a
BLAKE2b-256 3b17bc2c1a6f8f4ff098a6dbd14b06356d9288966738f5a3e1525c200487df2d

See more details on using hashes here.

Provenance

The following attestation bundles were made for siigo_connector-0.1.8-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