Search code examples
pythondjangopython-3.xebay-api

How to authorize webapp with ebay?


I am making a django app that can hold info about items i have on ebay. So, each user would have multiple ebay accounts. For example: user1 would have access to ebay1, ebay2, ebay3 account. How can I get appid, certid, devid and token for each account? The best would be to click 'add ebay account' and in new window with ebay sign in page and authorize by inserting username/password.

I had a look to:

https://github.com/timotheus/ebaysdk-python

https://developer.ebay.com/devzone/xml/docs/reference/ebay/FetchToken.html

but it is not clear to me. Can anyone provide me some step-by-step or any guidelines?

Thanks in advance


Solution

  • I used code from this repo: https://github.com/luke-dixon/django-ebay-accounts with fix from: here it works great