It is using the Amazon Product Advertising API to obtain the required information.
To use the API you must have a AWS account with your AWS Access Key and the corresponding AWS Private Key. Additionally to use the product advertising API you need to register your AWS account at the Amazon Affiliate Program to get an Associate ID.
These three tokens need to be present in the
aws.config.ps1. You can find
a template for the config file in
aws.config.ps1.template. Just rename it
and fill in your credentials.
Setup a list with ISBN codes of books you want to list. Write these codes into a plain text file, one code per line.
and the result is saved into
- You can specify the target file to:
Create-BookList.ps1 my-book-list.txt result.htm
- You can omit the included default CSS styles:
Create-BookList.ps1 my-book-list.txt -noStyles
- You can embed the result fragment in a simple HTML page:
Create-BookList.ps1 my-book-list.txt -noFragment