Members
token
Set auth token.
token
Return the auth token that was set.
Methods
custom(endpoint, method) → {Promise}
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}
pnut-butter.js
Wrapper library for the pnut.io API.
Returns:
- Type
- Object