The Javascript API client for PERI Templating.
import { API as PeriTemplatingAPI } from "peri-templating-api";
const api = new PeriTemplatingAPI();
The initialization can be done by providing an options
object such as:
{
baseUrl: "https://peri-templating.platforme.com/api/v1",
token: "sd1029bfwef9adas+0feqefi"
}
Name | Type | Default | Description |
---|---|---|---|
PERI_TEMPLATING_BASE_URL | str |
http://localhost:3000/ |
The base URL of the PERI Templating service, to be used by the API client |
PERI_TEMPLATING_TOKEN | str |
None |
Authentication token to communicate with the PERI Templating service. |