|
April 23, 2017, 10:44:28 AM |
|
Мне надо под PrestaShop. Кстати у вас выбивает ошибку ввода кода если ввести *ываывав* - это логично, но потом перебрасывает на вот такое:
Internal Server Error
The server has either erred or is incapable of performing the requested operation.
Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1535, in __call__ rv = self.handle_exception(request, response, e) File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1529, in __call__ rv = self.router.dispatch(request, response) File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1278, in default_dispatcher return route.handler_adapter(request, response) File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1102, in __call__ return handler.dispatch() File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 572, in dispatch return self.handle_exception(e, self.app.debug) File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 570, in dispatch return method(*args, **kwargs) File "/base/data/home/apps/s~post-money/20170318t105130.399921452793065733/main.py", line 208, in post cLoad=btceConect.coupone_load(btceCode,1) #пробуем загрузить код File "/base/data/home/apps/s~post-money/20170318t105130.399921452793065733/btce.py", line 202, in coupone_load ret=gapi.api_call(self.aUrl,self.key,self.secret,'',param,1,self.nonce()) File "/base/data/home/apps/s~post-money/20170318t105130.399921452793065733/gapi.py", line 81, in api_call answer = requestUrl(url,key,secret, param) # get or post Request File "/base/data/home/apps/s~post-money/20170318t105130.399921452793065733/gapi.py", line 38, in requestUrl params=urllib.urlencode(param) File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/urllib.py", line 1321, in urlencode v = quote_plus(str(v)) UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-7: ordinal not in range(128)
Так же подскажите где брать API, везде идет инструкция по API для трейдеров.
|