如何通过在codeigniter中使用amazon了解ISBN搜索来获取作者,价格和标题? 和
每次收到错误时,我都会尝试注册AProduct Advertising API注册约2天:我们很抱歉!处理您的更改时出错。请再试一次。在帐户信息步骤
之后如何获取awsAccessKeyID,awsSecretKey,awsAssociateTag的键值?
function getMetadataFromIsbn($isbn) {
// Get your own accesskey at http://aws.amazon.com/
$awsAccessKeyID = 'accesskey';
$awsSecretKey = 'secrete key';
$awsAssociateTag = 'Associate tag';
$host = 'ecs.amazonaws.com';
$path = '/onca/xml';
$args = array(
'AssociateTag' => $awsAssociateTag,
'AWSAccessKeyId' => $awsAccessKeyID,
'IdType' => 'ISBN',
'ItemId' => $isbn,
'Operation' => 'ItemLookup',
'ResponseGroup' => 'Medium',
'SearchIndex' => 'Books',
'Service' => 'AWSECommerceService',
'Timestamp' => gmdate('Y-m-d\TH:i:s\Z'),
'Version'=> '2009-01-06'
);