0.2.0 • Published 1 year ago
sitecore-personalize-tenant-sdk v0.2.0
Sitecore Personalize Tenant SDK
Welcome to the Javascript based SDK for using the Sitecore Personalize Tenant/Admin APIs. This repository is useful if you want to create integrations with these APIs. This repository is used by many other repositories such as the Serializer for CDP/Personalize, and many Automation Testing scripts.
Getting Started
To get started using this SDK, you should first install the package as a dependency in your Node project:
> npm install sitecore-personalize-tenant-sdk
Once it's installed you'll need to initialize the client:
import { Client, RegionOptions, TemplateType } from 'sitecore-personalize-tenant-sdk';
let client: Client;
client = new Client({
clientId: '<ClientId>',
clientSecret: '<ClientSecret>',
region: RegionOptions.EU,
});
await client.Authenticate();
let response = await client.Templates.GetAllTemplates(TemplateType.Web);
This module is built with ESM in mind and doesn't currently support CJS.
Development / Contributions
Release
0.2.0
1 year ago
0.2.0-beta.0
1 year ago
0.1.2-beta.0
1 year ago
0.1.1-beta.3
1 year ago
0.1.1-beta.2
1 year ago
0.1.1-beta.1
1 year ago
0.1.1-beta.0
1 year ago