Python client for retailCRM API
Go to file
Alex Lushpai 91b93869a5 Merge pull request #2 from gwinn/master
Update for latest api, pip ready
2016-03-17 01:58:40 +04:00
retailcrm pip ready, update for latest api 2016-03-17 00:54:42 +03:00
.gitignore pip ready, update for latest api 2016-03-17 00:54:42 +03:00
LICENSE Update LICENSE 2015-02-02 16:20:23 +03:00
README.md pip ready, update for latest api 2016-03-17 00:54:42 +03:00
setup.py pip ready, update for latest api 2016-03-17 00:54:42 +03:00

retailCRM API python client

Install

pip install retailcrm

Usage

import retailcrm


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

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

result = crm.orders_create(order)

Documentation