Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.09 KB

README.md

File metadata and controls

27 lines (19 loc) · 1.09 KB

PERI Templating API JS

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.