0.1.0 • Published 3 years ago

peri-templating-api v0.1.0

Weekly downloads
74
License
Apache-2.0
Repository
github
Last release
3 years ago

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

NameTypeDefaultDescription
PERI_TEMPLATING_BASE_URLstrhttp://localhost:3000/The base URL of the PERI Templating service, to be used by the API client
PERI_TEMPLATING_TOKENstrNoneAuthentication token to communicate with the PERI Templating service.