Novant

Documentation

Sign in

Project

Returns metadata for the project.

project()

Returns

Project with the following fields:

Field Type Description
proj_id number Project ID
proj_name string Project name
area number Project area
city string Project city
tz string Project timezone
usage number Current data point usage
capacity number Total data point capacity
max_trend_years number Years of trend data retained for this project
access string Key access level: read, edit, or control

Example

const proj = await client.project();
console.log(proj.proj_name);         // "Acme HQ"
console.log(proj.area);              // 145000
console.log(proj.city);              // "Richmond, VA"
console.log(proj.tz);                // "New_York"
console.log(proj.usage);             // 1200
console.log(proj.capacity);          // 5000
console.log(proj.max_trend_years);   // 3
console.log(proj.access);            // "edit"