File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ pip install retailcrm
2424import retailcrm
2525
2626
27- client = retailcrm.v3(' https://demo.intarocrm .ru' , ' uLxXKBwjQteE9NkO3cJAqTXNwvKktaTc' )
27+ client = retailcrm.v3(' https://demo.retailcrm .ru' , ' uLxXKBwjQteE9NkO3cJAqTXNwvKktaTc' )
2828
2929order = {
3030 ' firstName' : ' John' ,
@@ -45,7 +45,7 @@ result = client.order_create(order)
4545import retailcrm
4646
4747
48- client = retailcrm.v4(' https://demo.intarocrm .ru' , ' uLxXKBwjQteE9NkO3cJAqTXNwvKktaTc' )
48+ client = retailcrm.v4(' https://demo.retailcrm .ru' , ' uLxXKBwjQteE9NkO3cJAqTXNwvKktaTc' )
4949
5050result = client.customers_history(filter = {' sinceId' : ' 1500' , ' startDate' : ' 2018-03-01' })
5151
@@ -60,7 +60,7 @@ print(result['pagination']['totalCount'])
6060import retailcrm
6161
6262
63- client = retailcrm.v5(' https://demo.intarocrm .ru' , ' uLxXKBwjQteE9NkO3cJAqTXNwvKktaTc' )
63+ client = retailcrm.v5(' https://demo.retailcrm .ru' , ' uLxXKBwjQteE9NkO3cJAqTXNwvKktaTc' )
6464site = ' example-com'
6565task = {
6666 ' text' : ' Product availability problem' ,
Original file line number Diff line number Diff line change 77import os
88from setuptools import setup
99
10- # Utility function to read the README file.
11- # Used for the long_description.
12-
1310
1411def read (fname ):
12+ """Read readme for long description"""
1513 return open (os .path .join (os .path .dirname (__file__ ), fname )).read ()
1614
1715
1816setup (
1917 name = 'retailcrm' ,
2018 version = '5.0.0' ,
21- description = 'retailCRM multi version API client' ,
19+ description = 'retailCRM API client' ,
2220 long_description = read ('README.md' ),
2321 url = 'https://github.com/retailcrm/api-client-python' ,
2422 author = 'retailCRM' ,
You can’t perform that action at this time.
0 commit comments