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.2.tar.gz
(7.6 kB
view details)
Built Distribution
File details
Details for the file alloniarest-1.1.2.tar.gz
.
File metadata
- Download URL: alloniarest-1.1.2.tar.gz
- Upload date:
- Size: 7.6 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 | a11f3e4fcd4433ed72edf177c0af8a03f391dc9564a62de156ea46357963e52e |
|
MD5 | 2da693b79b514d2d5e99afb057890d38 |
|
BLAKE2b-256 | 75d01e0680b2f161e00e9e70fad5ece380964d9ea7d1006028f3d70c07e909f6 |
File details
Details for the file alloniarest-1.1.2-py3-none-any.whl
.
File metadata
- Download URL: alloniarest-1.1.2-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 | 93d9903161db876a2020a11794223a4e2b324e47e86922296c8cb14cf9772534 |
|
MD5 | 18bf817d6aaf8237a9f82eb27d474170 |
|
BLAKE2b-256 | f6bbf25a0afff7b6c5734892954a191ea1e9a129be0a82102a6f7c483fde8fd2 |