Interface APIOptions

Options passed to createAPI.

const api = new MeridianSDK.API({
environment: "production", // or "eu"
token: "<token>",
language: "<languageCode>" // optional, defaults to "en"
});
interface APIOptions {
    environment?: EnvOptions;
    language?: "no" | "en" | "ar" | "ca" | "es" | "cs" | "de" | "fr" | "it" | "iw" | "ja" | "ko" | "nl" | "pt" | "ru" | "sv" | "uk" | "vi" | "zh-cn" | "zh-tw";
    token: string;
}

Properties

environment?: EnvOptions
language?: "no" | "en" | "ar" | "ca" | "es" | "cs" | "de" | "fr" | "it" | "iw" | "ja" | "ko" | "nl" | "pt" | "ru" | "sv" | "uk" | "vi" | "zh-cn" | "zh-tw"
token: string