From 3c2c299b321b2b7e2a6dff7facfcc8e88505460e Mon Sep 17 00:00:00 2001 From: alexey Date: Mon, 27 Jan 2025 09:06:49 +0300 Subject: [PATCH 1/2] Update Readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d9aa6e11..47f89b1e 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ Please, note that hapikey is no longer supported after v5.1.0. You can get more from hubspot.auth.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', From c602290633059ef551b220cb383cd626723f8e42 Mon Sep 17 00:00:00 2001 From: alexey Date: Mon, 27 Jan 2025 09:09:22 +0300 Subject: [PATCH 2/2] clean up --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 47f89b1e..56c8ca9e 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ 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.oauth.tokens_api.create(