This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

https://github.com/moshkov/python_bitrix24

Зависимости

  • Python 2.7+
  • requests

Установка

$ pip install python_bitrix24

Если используется Django, то в настройках проекта можно указать BITRIX24_API_LOGIN, BITRIX24_API_PASSWORD и BITRIX24_API_MAIN_USER_NAME.

Описание

Python Bitrix24 API

Позволяет работать с API Bitrix24. В текущей версии реализовано только добавление лида.

Использование

from python_bitrix24.bitrix24 import Bitrix24Connection

bitrix24Connection = Bitrix24Connection('YOU_BITRIX24_API_LOGIN', 'YOU_BITRIX24_API_PASSWORD', 'YOU_BITRIX24_API_MAIN_USER_NAME')

b24_result = bitrix24Connection.add_lead('My dear Lead, {
    'NAME': 'Vasya Pupkin',
    'EMAIL_OTHER': 'lead@email.local',
    'UF_CRM_123456789': 'additional information',
    'UF_CRM_123456788': 'additional information 2',
})

if b24_result.get('error', '') == '201' == 0:
    print 'success'

...

Для Django (если в настройках заданы BITRIX24_API_LOGIN, BITRIX24_API_PASSWORD и BITRIX24_API_MAIN_USER_NAME):

from python_bitrix24.python_bitrix24_django import bitrix24Connection

b24_result = bitrix24Connection.add_lead('My dear Lead, {
    'NAME': 'Vasya Pupkin',
    'EMAIL_OTHER': 'lead@email.local',
    'UF_CRM_123456789': 'additional information',
    'UF_CRM_123456788': 'additional information 2',
})

if b24_result.get('error', '') == '201' == 0:
    print 'success'

...

...

TODO

  1. Проверка отвера API на корректность
  2. Остальной функционал API Bitrix24
  3. Тесты
  4. Документация
Release History

Release History

0.1.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
python_bitrix24-0.1.0.tar.gz (4.5 kB) Copy SHA256 Checksum SHA256 Source Aug 14, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting