Retrieve (GET) a resource
Unique parameter must take :
'url' => Full URL for a GET request of Webservice (ex: http://mystore.com/api/customers/1/)
OR
'resource' => Resource name,
'id' => ID of a resource you want to get
get(array('resource' => 'orders', 'id' => 1));
Here in $xml, a SimpleXMLElement object you can parse
foreach ($xml->children()->children() as $attName => $attValue)
echo $attName.' = '.$attValue.'
';
}
catch (PrestaShopWebserviceException $ex)
{
echo 'Error : '.$ex->getMessage();
}
?>