Closed
Description
The oauth API has changed, but the README hasn't been updated:
from hubspot.auth.oauth import ApiException
try:
tokens = api_client.auth.oauth.tokens_api.create(
grant_type="authorization_code",
redirect_uri='http://localhost',
client_id='client_id',
client_secret='client_secret',
code='code'
)
except ApiException as e:
print("Exception when calling create_token method: %s\n" % e)
The above doesn't work anymore - it should read api_client.oauth.tokens_api.create(...)
instead.
Metadata
Metadata
Assignees
Labels
No labels