Python client for retailCRM API
Go to file
2015-03-12 16:08:55 +03:00
retailcrm first attempt to migrate to v3 api 2015-03-12 16:08:55 +03:00
.gitignore first attempt to migrate to v3 api 2015-03-12 16:08:55 +03:00
LICENSE Update LICENSE 2015-02-02 16:20:23 +03:00
README.md first attempt to migrate to v3 api 2015-03-12 16:08:55 +03:00
setup.py first attempt to migrate to v3 api 2015-03-12 16:08:55 +03:00
test.py first attempt to migrate to v3 api 2015-03-12 16:08:55 +03:00

api-client-python

RetailCrm REST API client (python version)

##Setup

git clone https://github.com/retailcrm/api-client-python.git
cd api-client-python
pip install requests
python setup.py install

##Usage

from retailcrm import Client


crm = Client('https://demo.intarocrm.ru', 'uLxXKBwjQteE9NkO3cJAqTXNwvKktaTc')

order = {
  'firstName': 'Ivan',
  'lastName': 'Ivanov',
  'phone': '+79000000000',
  'email': 'ivan@example.com',
  'orderMethod': 'call-request',
}

result = crm.orderCreate(order)