Skip to main content

Null Bot API wrapper

Project description

NULL BOT API wrapper

PyPI PyPI - Python Version GitHub

Установка

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page