api-client-python/README.md
2016-03-17 00:54:42 +03:00

32 lines
497 B
Markdown

retailCRM API python client
===========================
### Install
```
pip install retailcrm
```
### Usage
```python
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
* http://www.retailcrm.pro/docs/Developers/ApiVersion3