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
Release history Release notifications | RSS feed
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-5.1.10.tar.gz
(38.6 kB
view details)
Built Distribution
fusio_sdk-5.1.10-py3-none-any.whl
(167.6 kB
view details)
File details
Details for the file fusio_sdk-5.1.10.tar.gz
.
File metadata
- Download URL: fusio_sdk-5.1.10.tar.gz
- Upload date:
- Size: 38.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 946b38b7c69aaff514722a4c282eca0e5049ad60a7499f93f1d63feb969151d6 |
|
MD5 | 188629d5f8228ef4129fd1c2529dd930 |
|
BLAKE2b-256 | 5f395a2237a7aecba419788080d4a701b214255e8b23de095a55b559cd7d6e35 |
File details
Details for the file fusio_sdk-5.1.10-py3-none-any.whl
.
File metadata
- Download URL: fusio_sdk-5.1.10-py3-none-any.whl
- Upload date:
- Size: 167.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f78e04b36585cb4eaac7b5e2be32e7d173134327d17b53c97248fb5eec1f415 |
|
MD5 | b1dd550e76f9958beae4b1570169e0cf |
|
BLAKE2b-256 | 634c5b1bacda0c147bd6a779ac22e16df933f0c022edbfdb365e3ce10fff6f0b |