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

PAAPI 5.0 #162

Closed
tinohager opened this issue Sep 28, 2019 · 25 comments
Closed

PAAPI 5.0 #162

tinohager opened this issue Sep 28, 2019 · 25 comments

Comments

@tinohager
Copy link

For information on this project

The old Amazon Product Api is shut down on 31 October 2019

Documentation for the new API

@sergioteula
Copy link

Will this project be updated for the new API version 5? I suppose it will stop working once version 4 is stopped. Thanks!

@Pikamander2
Copy link

@yoavaviram - Is there a plan for this? From what I understand the project will stop working tomorrow.

@Pikamander2
Copy link

This page has some Python sample code snippets, which will probably come in handy for migrating.

@yoavaviram
Copy link
Owner

Hi @tinohager, @sergioteula, @Pikamander2, thanks for reaching out about this issue. I have a bit of a problem implementing the migration at the moment. My Product Advertising API Account was terminated by Amazon a while ago as I'm no longer in the affiliate business (which also means I cannot create a new account). This means I can't test any changes to the code. This is a show stopper. I have tried reaching out to Amazon in various ways but they insist I must first have a website which generates traffic for them before I can use the API... I'm happy to merge pull requests if anyone cares to work on this. Otherwise i'm not sure how to proceed.

@sergioteula
Copy link

The module is working just fine without any modification. Does Amazon delayed the shutdown or is the module already compatible with the new API?

@Pikamander2
Copy link

I was wondering the same thing. It still works on our end too, but we have no idea how long it'll continue to do so.

@dentonzh
Copy link

According to this forum post, they've postponed v4.0 shutdown to January 14, 2020. Hoping we'll have a way to migrate over to v5.0 before this date.

@sergioteula
Copy link

I have started a new project for making a simple wrapper for Product Advertising API V5. It's still under development but you can already get basic information about any product. You can get the code here: https://github.com/sergioteula/python-amazon-paapi5

@Pikamander2
Copy link

@sergioteula - Awesome, thanks for doing so!

I ended up using Amazon's Python SDK examples, found here: https://webservices.amazon.com/paapi5/documentation/with-sdk.html

@sergioteula
Copy link

I have started a new project for making a simple wrapper for Product Advertising API V5. It's still under development but you can already get basic information about any product. You can get the code here: https://github.com/sergioteula/python-amazon-paapi5

The package can now be installed using PIP: https://pypi.org/project/python-amazon-paapi5/0.1.0/

@dentonzh
Copy link

dentonzh commented Jan 2, 2020

Update to my earlier comment: it seems that Amazon's pushed the date they're deprecating PA-API 4 once more, this time to February 11, 2020.

I've been using the SDK that Amazon provides here. It looks like Amazon had intended to make this available through pip (even the Readme instructs installing via pip install paapi5-python-sdk, which does not work). I'm not sure if Amazon is working on ironing out parts of the SDK before they make it available there. As of right now there seems to be a few gaps. For example, I'm not getting any data for things like sales rank and editorial descriptions (the latter is "coming soon" according to official PA-API 5 docs, but sales rank should be available now).

@iranzo
Copy link

iranzo commented Jan 22, 2020

Documentation on migration https://webservices.amazon.com/paapi5/documentation/migration-guide.html?ref_=pe_3519780_470445350

deadline has been pushed to March 9

Will this library keep working after 9th March?

@Pikamander2
Copy link

Amazon's latest email states that they'll shut down PAAPI 4.0 after the March 9th deadline.

I'd recommend downloading their official PAAPI 5.0 SDK and examples and at least trying them out: https://webservices.amazon.com/paapi5/documentation/with-sdk.html

@sergioteula
Copy link

@Pikamander2 And if you need basic product information access, you can try my module. I will add more functionality in the future. https://pypi.org/project/python-amazon-paapi5/0.1.0/

@iranzo
Copy link

iranzo commented Feb 12, 2020

I finally moved to python-amazon-paapi5 which was pretty straighforward, but got no replies yet about issue on 'currency' return so not sure about it's maintenance status

@sergioteula
Copy link

@iranzo Hello, thanks for your comment. I will check it and improve soon.

@sergioteula
Copy link

I finally moved to python-amazon-paapi5 which was pretty straighforward, but got no replies yet about issue on 'currency' return so not sure about it's maintenance status

Already added currency support. Sorry for the delay, I had the notifications off, but already switched them on. Thanks!

@dottantgal
Copy link

@sergioteula are you implementing the searchItems? anyone of you are just getting 10 results also setting the item count to more than 10?? actually i dont get also the products ratings

@sergioteula
Copy link

@sergioteula are you implementing the searchItems? anyone of you are just getting 10 results also setting the item count to more than 10?? actually i dont get also the products ratings

Yes, I'm on it. Regarding product ratings, they are not available anymore through the API, although it's supposed to return that value. And for the 10 results limitation, I think is also an API limit, but I will keep this in mind for future updates.

@sergioteula
Copy link

@sergioteula are you implementing the searchItems? anyone of you are just getting 10 results also setting the item count to more than 10?? actually i dont get also the products ratings

The last update of python-amazon-paapi removes the limitation of 10 results from Amazon API, so you can get as many results you need at once. I hope it helps.

@dottantgal
Copy link

dottantgal commented Mar 6, 2020 via email

@sergioteula
Copy link

So know you can search for a product with keyword and category and get more than 10 results? How does it work?? Thank you Il ven 6 mar 2020, 10:16 Sergio Abad notifications@github.com ha scritto:

@sergioteula https://github.com/sergioteula are you implementing the searchItems? anyone of you are just getting 10 results also setting the item count to more than 10?? actually i dont get also the products ratings The last update of python-amazon-paapi https://github.com/sergioteula/python-amazon-paapi removes the limitation of 10 results from Amazon API, so you can get as many results you need at once. I hope it helps. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#162?email_source=notifications&email_token=ABU63D6Z3CHP5CCY6F3PERDRGC5P7A5CNFSM4I3OZQ3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOAUX7Q#issuecomment-595676158>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABU63D6PDCHMH5ELWYN5N5LRGC5P7ANCNFSM4I3OZQ3A .

Search products functionality still not implemented, it's scheduled for next update. But it will also remove the 10 results limitation.

@sergioteula
Copy link

@sergioteula are you implementing the searchItems? anyone of you are just getting 10 results also setting the item count to more than 10?? actually i dont get also the products ratings

Version 3.0.0 is now out with search items and variations functionality, both without the Amazon limitation of 10 items per request. Hope it helps! https://github.com/sergioteula/python-amazon-paapi

@YPCrumble
Copy link
Contributor

@sergioteula your new package is GPL v3 licenced which is a major change from this package which is Apache licensed. Would you consider using the same or an MIT license?

@sergioteula
Copy link

@sergioteula your new package is GPL v3 licenced which is a major change from this package which is Apache licensed. Would you consider using the same or an MIT license?

Hello, thanks for the suggestion. Already changed to MIT License, I hope it helps.

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

No branches or pull requests

8 participants