-
Notifications
You must be signed in to change notification settings - Fork 23
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
Updates for Products API 5? #19
Comments
Also interested in this as the deadline to switch to API 5.0 is March 9. |
I've spent a few hours on updating this, and have some work in progress. Amazon moving from PA4 to PA5 also means they are using an auth/signing system that's giving me some grief. On the plus side, most requests now amount to POSTing some JSON to their endpoints and their endpoints now return JSON instead of XML. I'm cautiously optimistic that this won't be as terrible of a migration for our package users as initially expected. |
I made a little progress on an update as well. I didn't cover all the options, but maybe this will help? https://github.com/keslert/elixir-amazon-product-advertising-client |
Does your signature generation code work? I'm using the AWSAuth lib and getting pretty close (branch open on this repo with the basics). edit: if the signing code in your fork works, I'm all for adopting that, including the way you've setup the call_api call, and abandoning what I was doing. |
Yes, it does. The biggest issue I had was that I was using the PHP sample code they provided and the order of parameters is reversed when using :crypto.hmac. |
Hi, I'm not using this package, but I ran in the same problem while trying to authenticate some requests to the Product Advertising Api 5. FYI I managed to successfully sign requests using the Just one note though: the version of that package from hex.pm won't work, as it has a bug that prevents it from working with the product advertising API. Hope this could be useful! EDIT: I published a minimalistic library to build requests for the PAAPI5, you can find it here: https://github.com/dallagi/paapi5 . Feel free to take any code or inspiration from it, in case it may be useful. |
I don't think this library will work anymore with Amazon Product Advertising API 5.0 and will be useless after the old version is discontinued on 3/9/2020. Any plans to update this library to work with 5.0?
The text was updated successfully, but these errors were encountered: