Methods
(static) get()
Converts the ApiObject into SkyCiv compatible JSON.
- Source:
request(callback, http_or_https, version)
Send the ApiObject to the SkyCiv API.
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
callback |
function |
The function to run after the request. Receives a parsed response. |
|
http_or_https |
"http" | "https" | https |
Whether the request should use http or https. |
version |
2 | 3 | 3 |
The API version to use. |
- Source:
requestPromise(http_or_https, version)
Send the ApiObject to the SkyCiv API and receive a pending promise.
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
http_or_https |
"http" | "https" | https |
Whether the request should use http or https. |
version |
2 | 3 | 3 |
The API version to use. |
- Source: