bitrix24-python-sdk 1.0.1

Last updated:

0 purchases

bitrix24-python-sdk 1.0.1 Image
bitrix24-python-sdk 1.0.1 Images
Add to Cart

Description:

bitrix24pythonsdk 1.0.1

bitrix24-python-sdk




Description
Bitrix24 REST API wrapper
bitrix24-python-sdk is a simple API wrapper for working with Bitrix24 REST API

Bitrix24 API documentation - English: https://training.bitrix24.com/rest_help/
Bitrix24 API documentation - Russian: http://dev.1c-bitrix.ru/rest_help/



Requirements

Python 2.6+ or 3.2+
requests
multidimensional_urlencode



Installation
pip install bitrix24-python-sdk


Quickstart
from bitrix24 import Bitrix24

bx24 = Bitrix24('YOUR_THIRD_LEVEL_DOMAIN', 'YOUR_AUTH_TOKEN')

print(bx24.call('app.info'))


Notes
For some functions the order of parameters is important.
For example, methods from scope “task”:
bx24.call(
'task.item.list',
{'ORDER': {'GROUP_ID': 'asc'}},
{'FILTER': {'GROUP_ID': 1,'REAL_STATUS': {0: STATE_NEW}}},
{'PARAMS': {'NAV_PARAMS': {'nPageSize': 50, 'iNumPage': 2}}}
)


Tests

Put your access data at tests/testBitrix24.py
Run tests

python -m unittest discover


Author
Vladislav Sikach - [email protected]
See also the list of contributors which participated in this project


Need custom Bitrix24 application?
email: [email protected]


TODO

Documentation

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.