Amazon Products API JSON Server
A simple JSON server that returns products from Amazon's websites as JSON - searchable, taggable with affiliate tags.
Clone the repository and
cd into it.
cp conf/application.conf.dist conf/application.conf wget http://downloads.typesafe.com/play/22.214.171.124/play-126.96.36.199.zip unzip play-188.8.131.52.zip rm play-184.108.40.206.zip chmod +x run-dev-server
Now edit the
aws section in
conf/application.conf to put in your access key, secret key, tracking code, and desired response groups and search index.
Start the server with:
By default, this will run the server at
localhost:12001 (you can change the port in
URLs you can use:
GET http://localhost:12001/items?country=gb&query=hat (search for hats on Amazon.co.uk)
GET http://localhost:12001/items?country=us&query=blue%20boots (search for blue boots on Amazon.com)
GET http://localhost:12001/countries (gets a list of countries you can use for the
country parameters in