Creating Amazon Product URLs

I’d like to build something that could take a string such as

ISBN:978-0134190440

and change it to

http://www.amazon.com/Programming-Language-Addison-Wesley-Professional-Computing/dp/0134190440/ref=sr_1_1?ie=UTF8&qid=1460139227&sr=8-1

Perhaps using the Product API

http://docs.aws.amazon.com/AWSECommerceService/latest/DG/EX_LookupbyISBN.html

or perhaps something more simple (if such a mechanism exists).

Does this make sense? Would it be interesting to anyone else? Anyone interested in helping? I have made some changes to Hugo but wouldn’t be sure where to start on a project such as this.

1 Like

Look into the getJSON Hugo feature. Not sure if you could make that work or not.

If it were me, I’d write a separate app to create a JSON data file that Hugo could use as a data source.

hey, did you do it?
If yes, can you share your code?

I wound up using Jekyll, but you can certainly port the logic - it’s not complicated.

1 Like