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
from bitrix24 import Bitrix24
bx24 = Bitrix24('https://example.bitrix24.com/rest/1/33olqeits4avuyqu')
print(bx24.callMethod('crm.product.list'))
In async mode:
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
- Working with large datasets
- Disabling certificate verification
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.
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.
Metadata
Release files for bitrix24-rest 2.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bitrix24_rest-2.0.3.tar.gz | 6.9 kB | Without provenance | Details for bitrix24_rest-2.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bitrix24_rest-2.0.3-py3-none-any.whl | Python 3 | none | any | Details for bitrix24_rest-2.0.3-py3-none-any.whl |
Total release size: 16.2 kB
Release files / bitrix24_rest-2.0.3.tar.gz
| Download URL | bitrix24_rest-2.0.3.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7649da7a55b6f11665bb590a8f326056f303f0ec45cdbece459060416aee9ba1
|
|
BLAKE2b-256 checksum How to use checksums |
dce7477db32490064cb2c7307f01ebe43e6e6028f169520c3bbcc2f779e68862
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Release files / bitrix24_rest-2.0.3-py3-none-any.whl
| Download URL | bitrix24_rest-2.0.3-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a6d88d1b84cd028501ae502014ad1b478ccd8e31c429a5f9a2b88dae462d2a1
|
|
BLAKE2b-256 checksum How to use checksums |
ee38ff3cfd95092e4c60e1762be0d1a8d801b3aa32a3a0e22736ae28d438860a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Security for bitrix24-rest 2.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.