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.1.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for bored_api-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f24b12aaf2945e27925a05814b07d0b120efd64740ca1c55a722e5544402f0c |
|
MD5 | 355143de9649c2e46317ca1610b2136b |
|
BLAKE2b-256 | 9e27ff7503df51abbc0ae03d68540676b797236b73157d1bdebba7e7900d20c0 |