The kawaii api from Error44 as python package
Project description
kawaii api
The kawaii api from Error44 as python package
Download
pip install kawaiiapi
Examples
import kawaiiapi
api = kawaiiapi.Kawaii("anonymous") # you can't use stats with this token
await api.endpoints("gif")
await api.get("gif", "kiss")
await api.random("gif")
await api.gif("kiss")
stats = await api.stats()
All Stats
stats.endpoints
stats.all
stats.failed
stats.history
stats.most_endpoint
stats.most_endpoints
stats.most_type
stats.most_types
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
kawaiiapi-1.2.5.tar.gz
(3.0 kB
view details)
Built Distribution
File details
Details for the file kawaiiapi-1.2.5.tar.gz
.
File metadata
- Download URL: kawaiiapi-1.2.5.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e7be2025859c75ca0c5ce6915a8b9e1481eee746efe1dc95ac1b33d0028c9a9 |
|
MD5 | 310449d18cc41de36e6710a55c7abe37 |
|
BLAKE2b-256 | 7e2ac3a3df4e3aa2a6717b55b2de6a93b44642d96fc1abe8af43ce770cbb3760 |
File details
Details for the file kawaiiapi-1.2.5-py3-none-any.whl
.
File metadata
- Download URL: kawaiiapi-1.2.5-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 727d2728c6c300654115e761a395e3c188b319103cd0b857f9ec86a7d1973810 |
|
MD5 | 055b0828d8d72e12b34643ca135efcfa |
|
BLAKE2b-256 | 4bfe53c4a7d80bc1cef9644058b72fcc619d7ad542deb30b5a4f243b094cb8db |