-
Notifications
You must be signed in to change notification settings - Fork 326
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
Shopping API is gonna be deprecated #347
Comments
I had this issue. I believe the current eBay sdk is no longer compatible with shopping API because it uses APP ID instead of Auth token to authenticate. My a-few-months-old eBay sdk code didn't work so I had to change a few lines in connection.py as a little hack. If you want to do the same:
At the top of connection.py just after imports I added ...and then within build_request function, just after the line request = Request(self.method, ... files=files,), I added the following: now the access token will be added to the POST request headers so the authentication works. At least for me. This is a hack and not intended to be a permanent solution so it might not be the best possible way to do things but it worked for me. |
I made some further changes to @ffeist-ccg's answer as I am using multiple developer accounts. In /python/lib/site-packages/ebaysdk/connection.py: At the top of the file after the first imports under
In def init(...) of the BaseConnection class under
Under this line
Final connection.py file: https://gist.github.com/xjxckk/805147238c64836648f2e0bd094aca68 |
Hi, I am using Shopping API and APP ID for authorization,
Recently, I received an email from ebay support, that I am not gonna be able to use Shopping API, using APP ID.
Question is, Possible to use OAUTH2 Authorization to Shopping API?
if yes, How am I gonna do that?
Or should I have to change everything?
thank you for your answers !!!
The text was updated successfully, but these errors were encountered: