Hi Christopher,
thanks for driving Net::Amazon. I just heard from someone in
Germany that if you use the German locale as in
use Net::Amazon;
my $ua = Net::Amazon->new(
token => 'XXXXXX',
locale => 'de',
);
my $response = $ua->search(asin => 'B000PCWZVU');
if($response->is_success()) {
print $response->as_string(), "\n";
}
then Net::Amazon can't find the price on item B000PCWZVU.
The reason is a slightly different XML in the .de domain which looks like
'OfferSummary' => {
'TotalRefurbished' => '0',
'TotalUsed' => '0',
'TotalCollectible' => '0',
'TotalNew' => '39',
'LowestNewPrice' => {
'Amount' => '53492',
'CurrencyCode' => 'EUR',
'FormattedPrice' => 'EUR 534,92'
}
Do you know why the Germans are using a different layout? Would be great
if you could look into it if you have some time, thanks! :)
Keep up the good work!
-- Mike