aiobearychat¶
An async BearyChat API library for Python
- Free software: MIT license
- Documentation: https://aiobearychat.readthedocs.org
- GitHub: https://github.com/mozillazg/aiobearychat
- PyPI: https://pypi.python.org/pypi/aiobearychat
- Python version: 3.5, 3.6
Usage¶
OpenAPI¶
import aiohttp
from aiobearychat.openapi.aiohttp import OpenAPI
async def main(token):
async with aiohttp.ClientSession() as session:
api = OpenAPI(session, token=token)
response = await api.user.list()
print(response.json())
Credits¶
This package was created with Cookiecutter and the mozillazg/cookiecutter-pypackage project template.