Constructor
new AppBuilder()
Methods
(static) buildWithHostname(appID, appKey, hostname, urlSchema) → {App}
Create App instance by hostname.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
appID |
string | AppID of Kii App. | |
appKey |
string | AppKey of Kii App. | |
hostname |
string | Hostname of Kii App(e.g. api-jp.kii.com) | |
urlSchema |
string | https | https by default. |
Returns:
App instance.
- Type
- App
(static) buildWithSite(appID, appKey, site) → {App}
Create App instace by Site
Parameters:
Name | Type | Description |
---|---|---|
appID |
string | AppID of Kii App. |
appKey |
string | AppKey of Kii App. |
site |
any | Site of the app. Can be url string or Site. |
Returns:
App instance.
- Type
- App