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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for bored_api-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ce20729143f1ca9d56d59393e424d448c60ce6cbe01f008ac7f3e9de882ec84 |
|
MD5 | 4458bae5d8484959c4a28c43394e53e9 |
|
BLAKE2b-256 | 8d914a45eb4e160ca0b804fd35d5ea860ec7c4713f10eac5b92a559ebaed6e7b |