admin管理员组文章数量:1323723
i want to write a python program that lists all items of a specific seller, regardless what it is.
my code looks like this: .....
headers = {
'Authorization': f'Bearer {ACCESS_TOKEN}',
'X-EBAY-C-MARKETPLACE-ID': 'EBAY_DE',
'Content-Type': 'application/json',
}
# Query parameters
params = {
'q': 'D', # q is somehow needed !? empty string does not work, without q i get an error, D is just for a test*
'filter': 'sellers:{<sellername>}',
'limit': limit,
'sort': 'endingSoonest',
}
try:
response = requests.get(BASE_URL, headers=headers, params=params)
......
i just want to list all articles of a seller. this means the q parameter should be empty > match all articles.
but the problem is: the request call needs somehow a "q" query parameter. without q parameter i get an errorcode 12001. when q = "" (empty), i do not get an output. in the example above i set q to some value to test it.
how can i manage that?
本文标签: ebay browse api gt articles for a specific sellerStack Overflow
版权声明:本文标题:ebay browse api > articles for a specific seller - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742118569a2421585.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论