/abx24

API wrapper for working with Bitrix24 REST API over webhooks.

Primary LanguagePythonMIT LicenseMIT

Async Bitrix24 client for Python 3.6+

Клиент разработан на основе синхронного клиента Bitrix24-rest - https://pypi.org/project/bitrix24-rest/

Usage

from aiohttp import ClientSession
from abx24 import Bitrix24
bx24 = Bitrix24('')
await bx24.call_method('crm.customer.add', ClientSession(), fields={
    "NAME": 'Niel',
    "SECOND_NAME": 'Ketov'
})