pixc-api-node
Node.js Pixc API bindings. API docs available here: https://pixc.com/api
Installation
npm install --save pixc-api-node
API
PixcApiNode(options)
Creates a new PixcApiNode
instance.
Arguments
options
- Optional - A plain JavaScript object that contains the configuration options.
Options
token
- Required (String) - Access token obtained from https://pixc.com/dashboard/account/api page.test
- Optional (Boolean) - Enables or disables test mode. In this mode no real changes will be made. Only returns mock data.
Return value
A PixcApiNode
instance.
Example of GET request
const PixcApiNode = ; const pixcApiNode = token: 'YOUR_TOKEN' test: true; pixcApiNode;
Result
Example of PUT request
pixcApiNode;
Result
Example of POST request
pixcApiNode;
Result
Example of DELETE request
pixcApiNode;