Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undocumented public API? #5

Open
pbojinov opened this issue Nov 26, 2016 · 6 comments
Open

Undocumented public API? #5

pbojinov opened this issue Nov 26, 2016 · 6 comments
Assignees

Comments

@pbojinov
Copy link

pbojinov commented Nov 26, 2016

Just wondering, is the API a publicly available undocumented API or one that Amazon provided for free use. I'd be good to disclose this in the readme.

http://completion.amazon.com/search/complete?search-alias=aps&client=amazon-search-ui&mkt=1&q='+prefix+'&callback=AmazonAutocomplete.AmazonJSONPCallbackHandler_'+this._id;

@caroso1222
Copy link
Owner

Well, honestly, I didn't find any place in which this API was documented. When I came across this problem, a quick search on amazon autocomplete got me here and here. I then found out it was JSONP enabled thus driving me to build this plugin.

So, to answer your question, I'm not totally sure whether or not this is a publicly available undocumented API. I guess that if you got an affiliate subscription with Amazon, you'll be sending them a bunch of visitors anyways so they might not even care providing this service.

What do you suggest should I disclose on the README? The endpoint I'm calling to get the words? or a blog post explaining how the plugin works?

@pbojinov
Copy link
Author

pbojinov commented Nov 28, 2016

Right on, was just curious because I've been bitten in the back using undocumented API's in the past. Where the company just shuts down access one day and then everything breaks. Not saying this will happen for this Amazon API, but it doesn't hurt to be aware of this before integrating into your app.

I'd be good to mention in a disclaimer section at the bottom of the README.

@caroso1222
Copy link
Owner

You'll totally right. I'm absolutely going to mention this in the README. Many people have told me the same, some even suggesting Amazon would sue whoever is using its API. I'm assigning this to myself and closing the issue. Thank you for your contribution!

@caroso1222 caroso1222 self-assigned this Nov 28, 2016
@apolzon
Copy link

apolzon commented Nov 29, 2016

I'd second this -- spent a while googling around to try to figure out exactly what Amazon API this plugin was supposed to be using, and in the end most results ended up pointing to either the undocumented affiliate API or Amazon CloudSearch, so some clarification that this is not a frontend for CloudSearch would definitely help alleviate some confusion as to the utility of this plugin.

@jiovanniro
Copy link

I'm new to developing and I am trying to use your plugin but I have not had success. If you wrote a blog explaining how to use it could you please send the link? Thank you!

@sw1w8rg
Copy link

sw1w8rg commented Jan 4, 2018

Followed your instructions but the ajax feature does not work. Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants