@coaktion/zendesk-clients-react
v2.0.0
Published
API client for ZENDESK applications
Downloads
99
Readme
Zendesk Clients React
API client for ZENDESK applications
Installation
npm install @coaktion/zendesk-clients-react
Generate docs
npm run generate-docs
Usage
import {
ZendeskTicketsClient,
ZendeskUsersClient
} from '@coaktion/zendesk-clients-react';
import ZAFClient from 'zendesk_app_framework_sdk';
const zafClient = ZAFClient.init();
const ticketClient = new ZendeskTicketsClient(zafClient);
const userClient = new ZendeskUsersClient(zafClient);
ticketClient.getTicket('123456').then((ticket) => {
console.log(ticket);
});
userClient.getUser('123456').then((user) => {
console.log(user);
});
Contributing
See CONTRIBUTING.md for details.
License
Client Core is Copyright.