Python Forum
Question about eBay Oauth2.0 API - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Question about eBay Oauth2.0 API (/thread-15845.html)



Question about eBay Oauth2.0 API - Gutman - Feb-03-2019

Here I have a problem when trying to Request eBay API
I'm Using Requests SDK to request the API, like

headers={'Authorization':'my token'}
reponse=requests.get('https://api.ebay.com/buy/marketplace_insights/v1_beta/item_sales/search?q=iphone&category_ids=9355&limit=3',headers=headers)

But never Succeed, Then I find it also demand Oauth2.0 authorization to get the API work
so I tried requests-oauthlib, But the Introduction it's too short, still not able understand how to get this worked
Although Now I can request these API with ebaysdk for python, However, it seems this SDK didn't contain all the API and all the function in it, I need to use [Marketplace Insights API] to check sales history of different product, just don't know what to do now
can someone show me how to do that?