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.0.tar.gz
(7.5 kB
view details)
Built Distribution
File details
Details for the file alloniarest-1.1.0.tar.gz
.
File metadata
- Download URL: alloniarest-1.1.0.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 | 8d35f3a91e1444a14c0e5d2e4ca481963a7e8d01430e5950671796101f0eed0c |
|
MD5 | 0f735078fd334f4b2e48be56231dbc1b |
|
BLAKE2b-256 | 6e11bf550feebced87f4ea248f6a790dc19329aa9144abff67663ff6bb24b43a |
File details
Details for the file alloniarest-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: alloniarest-1.1.0-py3-none-any.whl
- Upload date:
- Size: 8.3 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 | ad6b69fb3c391dc0a5ab1d3771756fdca89abb72abe0ca4d14e3ef393db5903a |
|
MD5 | 87ac15996dea238cc33e6108d4e41378 |
|
BLAKE2b-256 | 9972db2209ff08edfa8d1c0908970375d18bebce0276f55f9240e13fa0b54177 |