peri-templating-api
v0.1.0
Published
The PERI Templating API client
Downloads
6
Readme
The Javascript API client for PERI Templating.
Initialization
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"
}
Configuration
| 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. |