Null Bot API wrapper
Project description
NULL BOT API wrapper
Установка
pip install -U https://github.com/lordralinc/null_bot_api/archive/master.zip
или
pip install null_bot_api
Использование
from null_bot_api import NullBotApi
api = NullBotApi()
stickers = api.users.get_stickers()
custom = api.make_request(
"section.method",
data=dict(param1="foo", param2="bar"),
dataclass=dict
)
# Асинхронное использование
from null_bot_api import NullBotApi
api = NullBotApi()
stickers = await api.users.get_stickers_async()
custom = api.make_request_async(
"section.method",
data=dict(param1="foo", param2="bar"),
dataclass=dict
)
Методы
Методы предоставлены на странице. Все методы следует преводить в snake_case.
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
null_bot_api-1.0.0.tar.gz
(8.9 kB
view hashes)