The unofficial async API wrapper for http://www.boredapi.com/
Project description
async-bored-api
The unofficial async API wrapper for http://www.boredapi.com/
Installing
pip install --upgrade bored_api
Usage
Here is simple example of usage.
import asyncio
import bored_api
async def main():
client = bored_api.BoredClient()
activity = await client.get_by_type(bored_api.ActivityType.BUSYWORK)
print(activity.activity)
asyncio.run(main())
Documentation and API Reference:
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
bored_api-1.1.0.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for bored_api-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30a2097a312196e0438b4ae25cd2cc970703e42418f14f52019b2609228f999b |
|
MD5 | 19cd57a346213d1cd4127415005ad0ec |
|
BLAKE2b-256 | 0899aa40927c1555ba3987e18b3630ac6343003b3ae364b73aceb019c1aa3cc8 |