An async bearychat API library for Python
Project description
An async BearyChat API library for Python
Free software: MIT license
Documentation: https://aiobearychat.readthedocs.org
Python version: 3.5, 3.6
Features
异步 I/O BearyChat Python SDK
支持不同的异步 I/O http 客户端模块(aiohttp, tornado, …)
封装所有 OpenAPI
Installation
At the command line:
$ pip install aiobearychat[aiohttp]
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.
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
aiobearychat-0.1.0.tar.gz
(12.6 kB
view details)
Built Distribution
File details
Details for the file aiobearychat-0.1.0.tar.gz
.
File metadata
- Download URL: aiobearychat-0.1.0.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb0d9de279446757d0a9d20512465de597f02b6318d4e419d35ff8ea27ad2de5 |
|
MD5 | 1de7f12eba9f687eae117f70cf42f56f |
|
BLAKE2b-256 | 489b1a312892b3f0b473084e8ed4d27fad7d306c4ad7b5e56fd98b1280a00c90 |
File details
Details for the file aiobearychat-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: aiobearychat-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 22.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d605a996286aef0855cbb1c5ea2f89a18c017ae4ef704355bce2f4a9d55d066 |
|
MD5 | f986a93006c32eeab971044ace1aa113 |
|
BLAKE2b-256 | 9cd25014c03a8ce9e3a9f5aadee5bb71faa1e9fb9541b8c87b2c6a7c9dabaf39 |