Library to interact with AllOnIA's API
Project description
Public Project AllOnIARest
Implements several client objects to access easily AllOnIA's public APIs (provided you have a valid token of course).
from alloniarest import Client
url = ...
token_id = ...
token_secret = ...
client = Client(
url,
user_token={
"id": token_id, "token": token_secret
},
trace=False
)
response = client.request(
"GET",
"/some/route?var=value"
)
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
alloniarest-1.1.1.tar.gz
(7.5 kB
view details)
Built Distribution
File details
Details for the file alloniarest-1.1.1.tar.gz
.
File metadata
- Download URL: alloniarest-1.1.1.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.1 Linux/5.4.0-148-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a04cbfb42ed2c93b37a95ebed955ffa737008d1c044ddac68886f62c38efc76e |
|
MD5 | 1d8417ae48a6091c000c622be0cc4112 |
|
BLAKE2b-256 | fbe3685e65689bca856f0aa8e1dc3de5540c21abfd10f495365ae46b0ce5a767 |
File details
Details for the file alloniarest-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: alloniarest-1.1.1-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.1 Linux/5.4.0-148-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 283466c42a85de37d6e383abb2ef812968589c1a241a2ac4f3d1a7a30fb0aef8 |
|
MD5 | 1756e7fe6f88b8cc493de243b3181ac4 |
|
BLAKE2b-256 | 695b7712a387f5e7ef628bb45163ffb72905331dcc2076a0c1f23eb4132453dd |