App

App

Represents Kii Cloud Application

Constructor

new App(appID, appKey, site)

Instantiate Kii App with App Location. If you haven't created Kii Cloud App yet, Please visit https://developer.kii.com and create your app.
Parameters:
Name Type Description
appID string ID of the app.
appKey stirng Key of the app.
site string Site of the app. Can be url string or Site
Properties:
Name Type Description
appID string ID of the app.
appKey string Key of the app.
site string Url string

Methods

getKiiCloudBaseUrl() → {string}

Get base url of kii cloud api
Returns:
base url of kii cloud api
Type
string

getThingIFBaseUrl() → {string}

Get base url of thing-if api
Returns:
base url of thing-if api
Type
string