diff --git a/README.md b/README.md index d9aa6e11..56c8ca9e 100644 --- a/README.md +++ b/README.md @@ -47,10 +47,10 @@ Please, note that hapikey is no longer supported after v5.1.0. You can get more #### Obtain OAuth2 access token: ```python -from hubspot.auth.oauth import ApiException +from hubspot.oauth import ApiException try: - tokens = api_client.auth.oauth.tokens_api.create( + tokens = api_client.oauth.tokens_api.create( grant_type="authorization_code", redirect_uri='http://localhost', client_id='client_id',