我将ebaysdk用于Python。我正在使用Trading API获取带有'DetailsLevel': 'ReturnAll'
的项目的反馈(基于ItemID)。我只想得到反馈,是留给卖方,但返回的数据主要包含反馈给买方和回应是有限的,只有100个条目。
更具体地说,它返回的是“留给他人的反馈”。你知道吗
以下是我的代码:
api2 = Trading(config_file='ebay.yaml')
response2=api2.execute('GetFeedback',{'ItemID':'153221482165', 'Role':'Seller', 'DetailLevel':'ReturnAll'}).dict()
print(response2)
有没有办法过滤我对“卖家反馈”的回复,让API返回所有数据而不是前100个条目。你知道吗
我的Python版本是3.7.0
您应该仔细阅读易趣API GetFeedback documentation
如果你只需要卖家的反馈,试试看
FeedbackType.FeedbackReceivedAsSeller
对于分页,似乎使用ItemId一次只能得到100个结果:
干杯
相关问题 更多 >
编程相关推荐