mirror of
https://github.com/retailcrm/api-client-python.git
synced 2024-11-21 20:46:03 +03:00
Python client for retailCRM API
91b93869a5
Update for latest api, pip ready |
||
---|---|---|
retailcrm | ||
.gitignore | ||
LICENSE | ||
README.md | ||
setup.py |
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)