bitrix24-python-sdk-1.0.1
توضیحات
Bitrix24 REST API wrapper
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | bitrix24-python-sdk-1.0.1 |
| نام | bitrix24-python-sdk |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | ['Vladislav Sikach'] |
| ایمیل نگهدارنده | ['github@sijmusic.info'] |
| نویسنده | Vladislav Sikach |
| ایمیل نویسنده | github@sijmusic.info |
| آدرس صفحه اصلی | https://github.com/gebvlad/bitrix24-python-sdk |
| آدرس اینترنتی | https://pypi.org/project/bitrix24-python-sdk/ |
| مجوز | MIT License Copyright (c) 2016 Vladislav Sikach Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
bitrix24-python-sdk
===================
.. image:: https://img.shields.io/pypi/v/bitrix24-python-sdk.svg
:target: https://pypi.python.org/pypi/bitrix24-python-sdk
.. image:: https://img.shields.io/pypi/dm/bitrix24-python-sdk.svg?maxAge=2592000
:target: https://pypi.python.org/pypi/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
============
.. code-block:: bash
pip install bitrix24-python-sdk
Quickstart
==========
.. code-block:: python
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":
.. code-block:: python
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
=====
1. Put your access data at tests/testBitrix24.py
2. Run tests
.. code-block:: bash
python -m unittest discover
Author
======
Vladislav Sikach - `github@sijmusic.info <mailto:github@sijmusic.info>`_
See also the list of `contributors <https://github.com/gebvlad/bitrix24-python-sdk/graphs/contributorsn>`_ which participated in this project
Need custom Bitrix24 application?
=================================
email: `github@sijmusic.info <mailto:github@sijmusic.info>`_
TODO
====
1. Documentation
نحوه نصب
نصب پکیج whl bitrix24-python-sdk-1.0.1:
pip install bitrix24-python-sdk-1.0.1.whl
نصب پکیج tar.gz bitrix24-python-sdk-1.0.1:
pip install bitrix24-python-sdk-1.0.1.tar.gz