Skip to content
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

oauth2api.get_application_token does not accept my scopes #12

Open
Katze719 opened this issue Feb 5, 2023 · 2 comments
Open

oauth2api.get_application_token does not accept my scopes #12

Katze719 opened this issue Feb 5, 2023 · 2 comments

Comments

@Katze719
Copy link

Katze719 commented Feb 5, 2023

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'

@lbybee94
Copy link

Did you end up figuring this out? I am getting the same error.

@Katze719
Copy link
Author

so, you just need the converted module that is written for python3.

There is an pr for that: #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants