This Web API returns the contents of Amazon Wishlists in JSON.
To use this API clone the repository or download the newest release from GitHub. The standart port used in this application is 8081, you can change that in the application.properties if you need to.
If run locally the API will listen on localhost:8081/wishlist_api. I will need two parameters:
- The Top-Level-Domain of your wishlist ("de", "com", "co.uk")
- The Wishlist ID found in the Wishlist URL
API call example: http://localhost:8081/wishlist_api?tld=de&id=2L8FP7DFBFEC7
If called correctly the API will return valid JSON containing the following attributes of every item on the wishlist:
- Link to preview image
- Name of item
- Comment of wishlist creator
- Price
- Amount needed
- Amount received
This API parses the printview of a wishlist, which doesn't include a link to the actual item. It includes the amount of items already bought though, which is a nice tradeoff.
This is a Spring Boot application using Jsoup for HTML parsing and GSON for generating valid JSON from objects.