NorskKantarEmbedder.queryKantarOnlineLicense() method
This method allows you to query licenses and the channels available in each license with your login to the Kantar licensing server.
Signature:
queryKantarOnlineLicense(settings: KantarSnapOnlineLicenseBase): Promise<KantarSnapOnlineLicenseInformation[]>;
Parameters
Example [examples/kantar_license_query.ts]
Query kantar license information
const onlineLicenseInfo = await norsk.processor.transform.audioWatermark.queryKantarOnlineLicense({
type: "online",
login: process.env.KANTAR_LOGIN!,
password: process.env.KANTAR_PASSWORD!,
server: "licenseofe-integration.kantarmedia.fr"
});
console.log("Online license info:");
console.dir(onlineLicenseInfo, {depth: null});
Find Examples
Search for examples using queryKantarOnlineLicense in our examples repo.