Open Katze719 opened 1 year ago
credential = credentialutil.load('ebay-config.yaml') env_type = "production" scopes = ["https://api.ebay.com/oauth/api_scope", "https://api.ebay.com/oauth/api_scope/buy.item.feed"] application_token = oauth2api.get_application_token(env_type, scopes)
when i try to execute this code, i get: application_token = oauth2api.get_application_token(env_type, scopes) TypeError: oauth2api.get_application_token() missing 1 required positional argument: 'scopes'
Did you end up figuring this out? I am getting the same error.
so, you just need the converted module that is written for python3.
There is an pr for that: https://github.com/eBay/ebay-oauth-python-client/pull/6
when i try to execute this code, i get: application_token = oauth2api.get_application_token(env_type, scopes) TypeError: oauth2api.get_application_token() missing 1 required positional argument: 'scopes'