ebay apiに次のラッパーを使用しようとしています: http ://code.google.com/p/ebay-sdk-python/
ただし、次のコードを実行すると、次のようになります。
from ebaysdk import finding, tag, nodeText
f = finding()
f.execute('findItemsAdvanced', tag('keywords', 'shoes'))
Traceback (most recent call last):
File "/home/unix/dfernand/bin/lib/python2.7/site-packages/ebaysdk-0.1.6-py2.7.egg/ebaysdk/__init__.py", line 141, in execute
self._response_content = self._execute_http_request()
File "/home/unix/dfernand/bin/lib/python2.7/site-packages/ebaysdk-0.1.6-py2.7.egg/ebaysdk/__init__.py", line 244, in _execute_http_request
raise Exception("%s" % e)
Exception: Internal Server Error
次に、より多くの情報を取得しようとしますが、意味のあるものは何も表示されません。
error = f.error()
print error
findItemsAdvanced error:
Exception: Internal Server Error
エラーがどこから来ているのかわかりません-yamlファイルをモジュールのeggファイルがインストールされている場所(つまり、/ home / unix / dfernand / bin / lib / python2.7 / site-packages /)にコピーしてみました)、そして何も変わりません。
yamlファイルにサンドボックスキーを入力し、次にプロダクションキーを入力しようとしました。次に、ebay開発者アカウントなどの名前と一致するように名前を変更しました。何も機能しません。私は何が起こっているのか全く無知です。何か案は?ありがとう。
私のyamlファイルの例:
# ebaysdk API Configurations
name: Key Set 1 #(note: here i changed it to Key Set 1, name in ebay website from ebay_api_config)
# Trading - External
api.ebay.com:
password: _password_
username: _username_
appid: myproduction-appid-fromdeveloperssite
certid: _certid_
devid: _devid_
token:
version: 671
https: 1
# Shopping
open.api.ebay.com:
appid: myproduction-appid-fromdeveloperssite
certid: myproduction-certid-fromdeveloperssite
devid: myproduction-devid-fromdeveloperssite
version: 671
# Finding/Merchandising
svcs.ebay.com:
appid: myprodction-appid-fromdeveloperssite
version: 1.0.0