Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
node-zendesk
Advanced tools
A Zendesk API client library for use with node.js
Read the full documentation at blakmatrix.github.io/node-zendesk/
Promise support was introduced in @v2.0.0
, the Legacy version of node-zendesk without Promises @v1.5.0
To use the API, just do the standard
$ npm install --save node-zendesk
var zendesk = require('node-zendesk');
var client = zendesk.createClient({
username: 'username',
token: 'token',
remoteUri: 'https://remote.zendesk.com/api/v2'
});
client.users.list(function (err, req, result) {
if (err) {
console.log(err);
return;
}
console.log(JSON.stringify(result[0], null, 2, true));//gets the first page
});
or you can use Promises
, you just need to skip the callback:
var zendesk = require('node-zendesk');
var client = zendesk.createClient({
username: 'username',
token: 'token',
remoteUri: 'https://remote.zendesk.com/api/v2'
});
client.users.list()
.then(function(result) {
console.log(JSON.stringify(result[0], null, 2, true));//gets the first page
})
.catch(function(error) {
console.log(error);
});
Take a look in the examples
folder for more examples.
If you're looking to contribute, please refer to the API Coverage Document, open an issue, or make a PR!
Tests and examples are also welcome.
Zendesk's documentation can be found here.
MIT.
FAQs
A trusted Zendesk API client library for Node.js and the browser, lovingly maintained for over 10 years.
The npm package node-zendesk receives a total of 27,986 weekly downloads. As such, node-zendesk popularity was classified as popular.
We found that node-zendesk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.