<<

NAME

C4::External::Amazon - Functions for retrieving Amazon.com content in Koha

FUNCTIONS

This module provides facilities for retrieving Amazon.com content in Koha

get_amazon_detail( $isbn, $record, $marcflavour, $services )

Get editorial reviews, customer reviews, and similar products using Amazon Web Services.

Parameters:

$isbn

Biblio record isbn

$record

Biblio MARC record

$marcflavour

MARC flavor, MARC21 or UNIMARC

$services

Requested Amazon services: A ref to an array. For example, [ 'Similarities', 'EditorialReviews', 'Reviews' ]. No other service will be accepted. Services must be spelled exactly. If no sercice is requested, AWS isn't called.

get_amazon_tld()

Get Amazon Top Level Domain depending on Amazon local preference: AmazonLocal. For example, if AmazonLocal is 'UK', returns '.co.uk'.

NOTES

AUTHOR

Joshua Ferraro <jmf@liblime.com>

<<