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.2.7.tar.gz (7.1 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.2.7-py2.py3-none-any.whl (8.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: siigo_connector-0.2.7.tar.gz
  • Upload date:
  • Size: 7.1 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.2.7.tar.gz
Algorithm Hash digest
SHA256 1506b6a357d64bc8c8ce20adc0e5ca51e7a04c86ffa9bf877724b2272587d17e
MD5 0e995a89f2eac5b272c9789de07e5e81
BLAKE2b-256 be8cbffdba62f895a4b6be18474c0ca9237d24667740f96dea8eb1b0b8de5825

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for siigo_connector-0.2.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fe22afde7e9d7ade40780d0291a394f0aa460359a6873e65da1399c75775dfc8
MD5 9e27678b63969a4f7986b2e9e9e11f7a
BLAKE2b-256 a42f9a0967b1bce6d831ca618ca42de6d74ad8a1e0b59fa9af353d66efbeee94

See more details on using hashes here.

Provenance

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