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 details)
File details
Details for the file null_bot_api-1.0.0.tar.gz
.
File metadata
- Download URL: null_bot_api-1.0.0.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f05ae60b4a7e3b54fed9eea751a570106d156b4aca07a9203b7bc96bbc63618b |
|
MD5 | 8ddd39e450d7c8b716549048518d59dc |
|
BLAKE2b-256 | 04304ab8021856ea20e3696947bfba937969cfd3b213a794c1d9bfec2bc09292 |