我正在尝试使用 FindCompletedItemRequest 查询 eBay,但服务器返回 null
这是代码
public static CustomFindingService FindingService(){
CustomFindingService findingService;
log.InfoFormat("Connect to Ebay: START");
findingService = new CustomFindingService("XXXXXX-XXXX-XXXXX-XXXXX-XXXXX");
findingService.UseDefaultCredentials = true;
log.InfoFormat("Connect to Ebay: SUCCESS");
return findingService;
}
var fcir = new FindCompletedItemsRequest {keywords = "5mp", categoryId =new string[] {"31388"}}; // 31388 is digital cameras
var l = FindingService().findCompletedItems(fcir);
我尝试删除 categoryId 和/切换关键字似乎没有任何帮助。调试向我表明,它正在 ping 服务器,只是服务器返回 null。
任何帮助,将不胜感激。