Skip to content

Commit d858a4d

Browse files
Updated README
1 parent 85287d2 commit d858a4d

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,14 @@ php composer.phar install
9797

9898
require_once(__DIR__ . '/vendor/autoload.php');
9999

100-
//TODO: Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required).
101-
$configuration = new GroupDocs\Viewer\Configuration();
102-
$configuration->setAppSid("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX");
103-
$configuration->setAppKey("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
100+
//Get Client Id and Client Secret from https://dashboard.groupdocs.cloud
101+
$myClientId = "";
102+
$myClientSecret = "";
104103

104+
// Create instance of the API
105+
$configuration = new GroupDocs\Viewer\Configuration();
106+
$configuration->setAppSid($myClientId);
107+
$configuration->setAppKey($myClientSecret);
105108
$infoApi = new GroupDocs\Viewer\InfoApi($configuration);
106109

107110
try {

0 commit comments

Comments
 (0)