View on GitHub

Amazon-wishlist-webservice

This webservice will fetch data from public amazon wish lists and responds in json format

Download this project as a .zip file Download this project as a tar.gz file

N|Solid

Amazon wish list api

This is a little API to retrieve Amazon Wish List data. There is no official API, as Amazon shut it down a couple years ago.

This webservice will fetch data from public amazon wish lists and responds in json format

e.g. this public amazon wish list

if you want to put some public or shared Amazon Wish List on your web page for instance, this project will fit your needs perfectly.

it will allow you to publish your wish list on your website or blog and could look for instance like the slider below. But that's up to you, the api provides even more data

please note the heroku server where the project is hosted can take some time to get up after first request has been done

Try it out

SwaggerUi

amazon-wishlist-webservice is written in Java and uses jSoup (server-side CSS3 selector driven DOM API) to scrape Amazon's Wish List page and spring-boot to have a standalone webservice instance that exports the response as JSON.

How to use

to start the application navigate to the appropriate path and call mvn spring-boot:run on your command line

Afterwards you can ask the webservice for any public Amazon Wish List URL (It can handle big wish lists with paginantion as well). You just have to call the endpoint with your Amazon Wish List URL as url parameter. Depending on the tld of your Amazon link you will get country specific data.

e.g. for an .de amazon link you will get € as currency, for .com $ etc.

if you want to play around with the API, it's hosted on heroku

https://amazon-wishlist-webservice.herokuapp.com/wishlist?url=${yourWishListUrl}

curl example:

curl -H "Content-Type: application/json" -X GET https://amazon-wishlist-webservice.herokuapp.com/wishlist?url=${yourWishListUrl}

you will get a result including:

Support

https://github.com/christian-draeger/amazon-wishlist-webservice/issues