1.0.5 • Published 6 years ago

zendeskapi v1.0.5

Weekly downloads
7
License
ISC
Repository
github
Last release
6 years ago

zendeskapi

Please read https://developer.zendesk.com/rest_api/docs/core/

NOTE

It's not perfect.

Getting Started

Install

npm install zendeskapi

Import module

var ZENDESK_API = require('zendeskapi');

Client

How using password

var zenclient = new ZENDESK_API({
    url: 'https://{your_subdomain}.zendesk.com',
    user: '{email_address}',
    pass: '{password}',
});

How using token

var zenclient = new ZENDESK_API({
    url: 'https://{your_subdomain}.zendesk.com',
    user: '{email_address}/token',
    pass: '{token}',
});

Example

// get brands
zenclient.get('brands.json').then(function (result) {
    console.log(result);
}).catch(function (err) {
    console.log(err);
});
1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago