async-nookipedia-1.0.1
توضیحات
async API wrapper for Nookipedia API written in python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | async-nookipedia-1.0.1 |
| نام | async-nookipedia |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | makubob |
| ایمیل نویسنده | makupi@icloud.com |
| آدرس صفحه اصلی | https://github.com/makupi/async-nookipedia |
| آدرس اینترنتی | https://pypi.org/project/async-nookipedia/ |
| مجوز | GPL-3.0 |
# async-nookipedia
Async API wrapper for Nookipedia API utilizing the [aiohttp](https://docs.aiohttp.org/en/stable/) package.
## Installation
async-nookipedia can be installed via pip.
`pip install async-nookipedia`
## Documentation
Docs can be found on [readthedocs.io](https://async-nookipedia.readthedocs.io/en/latest/)
## Usage
```python
import asyncio
from nookipedia import Nookipedia
api_key = "API_KEY"
async def main():
api = Nookipedia(api_key=api_key, cached_api=True)
villager = await api.get_villager('marshal')
print(villager.name)
critter = await api.get_critter('spider')
print(critter.name)
fossil = await api.get_fossil('amber')
print(fossil.name)
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
```
# Requirements
- Python >= 3.6
- [aiohttp](https://docs.aiohttp.org/en/stable/)
- [python-dateutil](https://dateutil.readthedocs.io/en/stable/)
- [importlib_metadata](https://importlib-metadata.readthedocs.io/en/latest/)
# Issues and Features
If you're having any issues or want additional features please create an Issue on [github](https://github.com/makupi/async-nookipedia/issues).
[](https://ko-fi.com/A0A015HXK)
نیازمندی
| مقدار | نام |
|---|---|
| >=3.6.2,<4.0.0 | aiohttp |
| >=1.6.0,<2.0.0 | importlib_metadata |
| >=2.8.1,<3.0.0 | python-dateutil |
| >=3.0.3,<4.0.0 | sphinx |
| >=1.8.1,<2.0.0 | pydantic |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl async-nookipedia-1.0.1:
pip install async-nookipedia-1.0.1.whl
نصب پکیج tar.gz async-nookipedia-1.0.1:
pip install async-nookipedia-1.0.1.tar.gz