Antwort
von
nach 6 Tagen
0
hilfreich
Re^4: kann mir jemand bei amazon webservices helfen?
hallo nochmal.
also, das hier hab ich mir anhand von nem bsp zusammengestöpselt, aber da "kommt nix"
(devtag und tag hab ich natürlich mit den entsprechenden werten versehen beim test :-) )
<?php
require_once('/xyz/nusoap.php'); //SOAPClient
// create a instance of the SOAP client object
$soapclient = new soapclient('http://soap.amazon.com/schemas2/AmazonWebServices.wsdl', true);
// set up an array containing input parameters to be
// passed to the remote procedure
$params = array(
'keyword' => 'rolling%20stones',
'page' => 1,
'mode' => 'books',
'tag' => 'XYZ',
'sort' => '+pmrank',
'type' => 'lite',
'devtag' => 'ACCESSKEY'
);
// create a proxy so that WSDL methods can be accessed directly
$proxy = $soapclient->getProxy();
// invoke the method
$result = $proxy->KeywordSearchRequest($params);
// print the results
print_r($result);
?>