Skip to content

Commit 355a62f

Browse files
Updated README
1 parent 6acbd07 commit 355a62f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,13 @@ Please follow the [installation procedure](#installation) and then run following
5858
# Import module
5959
import groupdocs_annotation_cloud
6060

61-
# Get your app_sid and app_key at https://dashboard.groupdocs.cloud (free registration is required).
62-
app_sid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
63-
app_key = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
61+
# Get Client Id and Client Secret from https://dashboard.groupdocs.cloud
62+
my_client_id = ""
63+
my_client_secret = ""
6464

6565
# Create instance of the API
66-
api = groupdocs_annotation_cloud.InfoApi.from_keys(app_sid, app_key)
66+
configuration = groupdocs_annotation_cloud.Configuration(my_client_id, my_client_secret)
67+
api = groupdocs_annotation_cloud.InfoApi.from_config(configuration)
6768

6869
try:
6970
# Retrieve supported file-formats

0 commit comments

Comments
 (0)