bored-api-1.1.1
توضیحات
The unofficial async API wrapper for http://www.boredapi.com/
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | bored-api-1.1.1 |
| نام | bored-api |
| نسخه کتابخانه | 1.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Damego |
| ایمیل نویسنده | danyabatueff@gmail.com |
| آدرس صفحه اصلی | https://github.com/Damego/async-bored-api |
| آدرس اینترنتی | https://pypi.org/project/bored-api/ |
| مجوز | MIT License |
# 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.
```py
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:
https://damego.gitbook.io/async-bored-api/
نیازمندی
| مقدار | نام |
|---|---|
| - | aiohttp |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl bored-api-1.1.1:
pip install bored-api-1.1.1.whl
نصب پکیج tar.gz bored-api-1.1.1:
pip install bored-api-1.1.1.tar.gz