@inspire-labs-tms-tech/inspire-tms-api
v1.18.4
Published
A Typescript Client for Inspire TMS's API
Downloads
419
Readme
@inspire-labs-tms-tech/inspire-tms-api
Install
npm install @inspire-labs-tms-tech/inspire-tms-api
Use
import {InspireTMS} from "@inspire-labs-tms-tech/inspire-tms-api";
const slug = "sandbox"; // enter organization slug here
InspireTMS.OpenAPI.BASE = `https://api.${slug}.app.inspiretmsconnect.com`;
InspireTMS.createFacility({
requestBody: {
displayName: "",
isActive: true,
address: {
line1: "2916 Bluff Road",
city: "Indianapolis",
state: "Indiana",
zipCode: "46225",
}
}
});