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-6.1.0.tar.gz (44.3 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-6.1.0-py3-none-any.whl (187.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fusio_sdk-6.1.0.tar.gz
Algorithm Hash digest
SHA256 74de39dde7352af4cb65d7d569ebf83e4424974a9b983da4556f0c75afad3fba
MD5 70d8e1beb1263e62796f972bea631186
BLAKE2b-256 b3aac193e9e0dd1533836aa7c2098f800a3059b1c69ee31ef7d1a82be3ad6bc8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for fusio_sdk-6.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2263dfc88f65aff4a30e07a850f1c5dc88284bca189050797add6c79ecdf4cfd
MD5 4e53445e532b93b65203f5a57d8392b3
BLAKE2b-256 f00502c2623a506f0fcfb7dbfe312958aac34ceb89978e0eccc601a61811d002

See more details on using hashes here.

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