Feb-03-2019, 07:18 AM
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?
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?