# Bitrix24 REST API for Python
Easy way to communicate with bitrix24 portal over REST without OAuth 2.0
## Description
Bitrix24 REST is an API wrapper for working with Bitrix24 REST API over webhooks.
No OAuth 2.0 required. It's easy to use and super lightweight, with minimal dependencies.
## Features
- Works with both cloud and on-premises versions of Bitrix24.
- Super easy to setup. No OAuth 2.0 infrastructure required.
- Built with data analysis in mind and fully compatible with Jupyter Notebook.
- Fetch paginated data at once without hassle.
- Works with large datasets and handles rate limits.
## Installation
```
pip install bitrix24-rest
```
## Quickstart
```python
from bitrix24 import Bitrix24
bx24 = Bitrix24('https://example.bitrix24.com/rest/1/33olqeits4avuyqu')
print(bx24.callMethod('crm.product.list'))
```
In async mode:
```python
import asyncio
from bitrix24 import bitrix24
async def main():
bx24 = Bitrix24('https://example.bitrix24.com/rest/1/33olqeits4avuyqu')
result = await bx24.callMethod('crm.product.list')
print(result)
asyncio.run(main())
```
## Advanced usage
- [Using filters and additional parameters](docs/using-filters-and-additional-parameters.md)
- [Working with large datasets](docs/working-with-large-datasets.md)
- [Disabling certificate verification](docs/disabling-certificate-verification.md)
## Notes
List methods return all available items at once. For large collections of data use limits.
## Development
New contributors and pull requests are welcome. If you have any questions or suggestions, feel free to open an issue.
Code comes with makefile for easy code base management. You can check `make help` for more details.
```sh
make init install # to create a local virtual environment and install dependencies
make test # to run tests
make lint # to run linter
```
I suggest to use `make all` before committing your changes as it will run all the necessary checks.
## Support this project
You can support this project by starring ⭐, sharing 📤, and contributing.
You can also support the author by buying him a coffee ☕. Click sponsor button on the top of the page.
Raw data
{
"_id": null,
"home_page": "https://github.com/akopdev/bitrix24-python-rest",
"name": "bitrix24-rest",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "bitrix24 api rest",
"author": "Akop Kesheshyan",
"author_email": "hello@akop.dev",
"download_url": "https://files.pythonhosted.org/packages/dc/e7/477db32490064cb2c7307f01ebe43e6e6028f169520c3bbcc2f779e68862/bitrix24_rest-2.0.3.tar.gz",
"platform": null,
"description": "# Bitrix24 REST API for Python\n\nEasy way to communicate with bitrix24 portal over REST without OAuth 2.0\n\n## Description\n\nBitrix24 REST is an API wrapper for working with Bitrix24 REST API over webhooks.\nNo OAuth 2.0 required. It's easy to use and super lightweight, with minimal dependencies.\n\n## Features\n\n- Works with both cloud and on-premises versions of Bitrix24.\n- Super easy to setup. No OAuth 2.0 infrastructure required.\n- Built with data analysis in mind and fully compatible with Jupyter Notebook.\n- Fetch paginated data at once without hassle.\n- Works with large datasets and handles rate limits.\n\n## Installation\n\n```\npip install bitrix24-rest\n```\n\n## Quickstart\n\n```python\nfrom bitrix24 import Bitrix24\n\nbx24 = Bitrix24('https://example.bitrix24.com/rest/1/33olqeits4avuyqu')\n\nprint(bx24.callMethod('crm.product.list'))\n```\n\nIn async mode:\n\n```python\nimport asyncio\nfrom bitrix24 import bitrix24\n\nasync def main():\n bx24 = Bitrix24('https://example.bitrix24.com/rest/1/33olqeits4avuyqu')\n result = await bx24.callMethod('crm.product.list')\n print(result)\n\nasyncio.run(main())\n```\n\n## Advanced usage\n\n- [Using filters and additional parameters](docs/using-filters-and-additional-parameters.md)\n- [Working with large datasets](docs/working-with-large-datasets.md)\n- [Disabling certificate verification](docs/disabling-certificate-verification.md)\n\n## Notes\n\nList methods return all available items at once. For large collections of data use limits.\n\n## Development\n\nNew contributors and pull requests are welcome. If you have any questions or suggestions, feel free to open an issue.\n\nCode comes with makefile for easy code base management. You can check `make help` for more details.\n\n```sh\nmake init install # to create a local virtual environment and install dependencies\n\nmake test # to run tests\n\nmake lint # to run linter\n```\n\nI suggest to use `make all` before committing your changes as it will run all the necessary checks.\n\n## Support this project\n\nYou can support this project by starring \u2b50, sharing \ud83d\udce4, and contributing. \n\nYou can also support the author by buying him a coffee \u2615. Click sponsor button on the top of the page.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Easy way to communicate with bitrix24 portal over REST without OAuth",
"version": "2.0.3",
"project_urls": {
"Homepage": "https://github.com/akopdev/bitrix24-python-rest"
},
"split_keywords": [
"bitrix24",
"api",
"rest"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ee38ff3cfd95092e4c60e1762be0d1a8d801b3aa32a3a0e22736ae28d438860a",
"md5": "3d1a4b96fdb8d745caaf5648b1468734",
"sha256": "4a6d88d1b84cd028501ae502014ad1b478ccd8e31c429a5f9a2b88dae462d2a1"
},
"downloads": -1,
"filename": "bitrix24_rest-2.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3d1a4b96fdb8d745caaf5648b1468734",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 9240,
"upload_time": "2024-07-19T10:51:24",
"upload_time_iso_8601": "2024-07-19T10:51:24.506522Z",
"url": "https://files.pythonhosted.org/packages/ee/38/ff3cfd95092e4c60e1762be0d1a8d801b3aa32a3a0e22736ae28d438860a/bitrix24_rest-2.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "dce7477db32490064cb2c7307f01ebe43e6e6028f169520c3bbcc2f779e68862",
"md5": "bf9a1f04f776e46ca5af814fa82503d2",
"sha256": "7649da7a55b6f11665bb590a8f326056f303f0ec45cdbece459060416aee9ba1"
},
"downloads": -1,
"filename": "bitrix24_rest-2.0.3.tar.gz",
"has_sig": false,
"md5_digest": "bf9a1f04f776e46ca5af814fa82503d2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6939,
"upload_time": "2024-07-19T10:51:25",
"upload_time_iso_8601": "2024-07-19T10:51:25.852658Z",
"url": "https://files.pythonhosted.org/packages/dc/e7/477db32490064cb2c7307f01ebe43e6e6028f169520c3bbcc2f779e68862/bitrix24_rest-2.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-19 10:51:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "akopdev",
"github_project": "bitrix24-python-rest",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "bitrix24-rest"
}