ApiObject

ApiObject

new ApiObject()

Create an instance of the SkyCiv API Object.

Source:

Methods

(static) get()

Converts the ApiObject into SkyCiv compatible JSON.

Source:

request(callback, options)

Send the ApiObject to the SkyCiv API.

Parameters:
Name Type Description
callback function

The function to run after the request. Receives a parsed response.

options Object

Additional options.

Properties
Name Type Description
version 2 | 3

The API version to use.

http_or_https "http" | "https"

Whethere the request should use http or https.

Source: