Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
亚马逊产品广告API的查找操作不适用于使用Pico教程的iOS_Ios_Objective C_Amazon Web Services - Fatal编程技术网

亚马逊产品广告API的查找操作不适用于使用Pico教程的iOS

亚马逊产品广告API的查找操作不适用于使用Pico教程的iOS,ios,objective-c,amazon-web-services,Ios,Objective C,Amazon Web Services,我在一个iOS应用程序中工作,需要使用查找操作从中获取信息 我遵循这一点,我可以使用ItemSearch操作成功地显示数据,但我无法为Loookup操作显示数据 我使用following peremeter进行查找请求,但它没有显示任何数据 // get shared client AWSECommerceServiceClient *client = [AWSECommerceServiceClient sharedClient]; client.debug = YES; // build

我在一个iOS应用程序中工作,需要使用查找操作从中获取信息

我遵循这一点,我可以使用ItemSearch操作成功地显示数据,但我无法为Loookup操作显示数据

我使用following peremeter进行查找请求,但它没有显示任何数据

// get shared client
AWSECommerceServiceClient *client = [AWSECommerceServiceClient sharedClient];
client.debug = YES;

// build request
ItemLookup *request = [[[ItemLookup alloc] init] autorelease];
request.associateTag = @"tag"; // seems any tag is ok
request.shared = [[[ItemLookupRequest alloc] init] autorelease];
request.shared.condition =@"All" ;
request.shared.idType = @"ASIN";
request.shared.itemId=[NSMutableArray arrayWithObjects:@"ASIN", nil];

request.shared.merchantId=@"Amazon";

request.shared.truncateReviewsAt=0;
request.shared.variationPage=@"All";

如需任何帮助,请提前感谢。

ItemId的request参数需要一个或多个ISBN编号,您需要获取更多信息

比如:


这里0890425558和1456360736是两本书的ISBN号

此处itemId需要一个用于搜索索引的数组。您可以使用一个或多个ISBN编号来创建数组,ISBN编号是书籍的唯一标识符

嘿,我已经用ios swift 3完成了
request.shared.itemId=[NSMutableArray arrayWithObjects:@"0890425558",@"1456360736", nil];