Skip to main content

SDK to talk to the Fusio REST API

Project description

Fusio Python SDK

This is the official Fusio Python SDK, it helps to talk to the Fusio REST API. Fusio is an open source API management system, more information at: https://www.fusio-project.org

Usage

The following example shows how you can get all registered routes at the backend. A working example is also available at: https://github.com/apioo/fusio-sample-python-cli

from sdk.client import Client
from sdkgen import OAuth2, MemoryTokenStore

tokenStore = MemoryTokenStore()
scopes = ["backend"]

credentials = OAuth2(
    "test",
    "FRsNh1zKCXlB",
    "https://demo.fusio-project.org/authorization/token",
    "",
    tokenStore,
    scopes
)

client = Client("https://demo.fusio-project.org", credentials)

print("Operations:")
collection = client.backend().operation().get_all(0, 16, "")

for operation in collection.entry:
    print(" * " + operation.http_method + " " + operation.http_path)

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

fusio_sdk-7.0.1.tar.gz (51.0 kB view details)

Uploaded Source

Built Distribution

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

fusio_sdk-7.0.1-py3-none-any.whl (217.8 kB view details)

Uploaded Python 3

File details

Details for the file fusio_sdk-7.0.1.tar.gz.

File metadata

  • Download URL: fusio_sdk-7.0.1.tar.gz
  • Upload date:
  • Size: 51.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fusio_sdk-7.0.1.tar.gz
Algorithm Hash digest
SHA256 5319d387a4ed44b5506e56cff38061e0bc4539b70b4e0ac8451f06d794d4fd2f
MD5 fddea04a3a34cbf94c211db0661cf0da
BLAKE2b-256 1e0e300108cead45c4a020d3dc08f1a334c66993a4d8ec867799deab0f4a366a

See more details on using hashes here.

Provenance

The following attestation bundles were made for fusio_sdk-7.0.1.tar.gz:

Publisher: sdkgen.yml on apioo/fusio-sdk-python

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

File details

Details for the file fusio_sdk-7.0.1-py3-none-any.whl.

File metadata

  • Download URL: fusio_sdk-7.0.1-py3-none-any.whl
  • Upload date:
  • Size: 217.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fusio_sdk-7.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 17ec4555007a9cc8fda3aa8000a1ee19581434fd65500dfee0feeeeacfd3efd9
MD5 4dbed0aaa0584f9413e6210f9aa93bd1
BLAKE2b-256 3bd104d56c05bde7f77ce06982bff0f177cb355f6ed63997365cc3e738a4bdc7

See more details on using hashes here.

Provenance

The following attestation bundles were made for fusio_sdk-7.0.1-py3-none-any.whl:

Publisher: sdkgen.yml on apioo/fusio-sdk-python

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