Global

Members

token

Source:
Set auth token.

token

Source:
Return the auth token that was set.

Methods

custom(endpoint, method) → {Promise}

Source:
Send request with custom endpoint / parameters.
Parameters:
Name Type Description
endpoint string The custom call
method string HTTP verb, defaults to GET
Returns:
Type
Promise

pnut() → {Object}

Source:
pnut-butter.js Wrapper library for the pnut.io API.
Returns:
Type
Object