Bitrix24 REST API wrapper
Project description
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
Need custom Bitrix24 application?
email: github@sijmusic.info
TODO
Documentation
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
File details
Details for the file bitrix24-python-sdk-1.0.1.zip.
File metadata
- Download URL: bitrix24-python-sdk-1.0.1.zip
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2612faceca8ebd0dd1abe7679a94eaafc5507be17775495a75da1591495377d
|
|
| MD5 |
45119a142d7b482b4d85971600f4e265
|
|
| BLAKE2b-256 |
20240bb8a7d8822a37c8a1ad6c960daa980c38fac240611db519b11c95d5b6e1
|