shelfies-amazon-linker
get markdown formatted string from book title
A quick CLI tool to get Markdown formatted strings to be used in the documentation of topshelfie.co. Want to help? Head over to the repo kyro/shelfies.
Install
$ npm install --save shelfies-amazon-linker
Usage
The Amazon Product Advertising API requires the following credentials to be passed with every single call:
- AWS access key ID -
AWS_ID
- AWS secret access key -
AWS_SECRET
- Amazon associate tag -
AWS_TAG
shelfies-amazon-linker looks for these values in environment variables named: AWS_ID
, AWS_SECRET
and AWS_TAG
.
Please ensure that these are set before running the package.
var shelfiesAmazonLinker = ; ;
CLI
$ npm install --global shelfies-amazon-linker
The command-line tool joins every parameter into a string, allows the user to omit quotes around the search term.
$ shelfies-amazon-linker --help Example shelfies-amazon-linker why nations fail Looking up: "why nations fail" Authors: [ 'Daron Acemoglu', 'James Robinson' ] [Why Nations Fail] - *The Origins of Power, Prosperity, and Poverty* Copied to your clipboard
License
MIT © Matias Singers