Api

Api

Creates a API object

Constructor

new Api(options, callbackopt)

Source:
Parameters:
Name Type Attributes Description
options String | ApiOptions

options object, or the name of the API (sets URL default to to https://localhost/name)

callback AsyncResultCallback <optional>

returns ({Error}, Api)

Returns: