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.
Properties:
Name Type Description
appID string ID of the app.
appKey string Key of the app.
site string Url string
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

Methods

getKiiCloudBaseUrl() → {string}

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

getThingIFBaseUrl() → {string}

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