From 1ee23f40c906a3b5a97eedf619d229d256c00f93 Mon Sep 17 00:00:00 2001 From: Alex Lushpai Date: Sat, 4 Oct 2014 03:59:12 +0400 Subject: [PATCH] Update test.py --- test.py | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/test.py b/test.py index d9bd305..c42d791 100644 --- a/test.py +++ b/test.py @@ -1,19 +1,11 @@ from Intaro import IntaroApy -# copy-one.ru -crm = IntaroApy('https://copy-one.intarocrm.ru', 'Yogg9w7pxDW6sS3yESXljKpSueTJVURW') - -# copy-galaxys5 -#crm = IntaroApy('https://copy-one.intarocrm.ru', 'zpbJiKQEFEo9OlpEebM8OATs5t7dzgjB') - -# Pulwin -#crm = IntaroApy('https://copy-one.intarocrm.ru', 'Lx2W5QRy6lQUotkaLd1cAXYRPIG4SdhR') +crm = IntaroApy('hhttps://demo.intarocrm.ru', 'uLxXKBwjQteE9NkO3cJAqTXNwvKktaTc') order = { - 'firstName': 'TESTER', - 'phone': '89991119922', + 'firstName': 'Intaro Test', + 'phone': '+79000000000', 'orderMethod': 'landing-page' - } +} result = crm.orderCreate(order) -