@es50678/tazij
v1.0.6
Published
Driver for the [Freshdesk REST API](https://developers.freshdesk.com/api/)
Downloads
12
Readme
Tazij
Driver for the Freshdesk REST API
Installation
$ yarn add @es50678/tazij
Usage
commonJS/node
const Tazij = require('@es50678/tazij')
// plug in your subdomain and api key
// ie: if your freshdesk domain is "https://google.freshdesk.com"
const freshdeskHost = new Tazij({ subdomain: 'google', apiKey: 'abc' })
// get all freshdesk ticket links related to a given JIRA ticket
freshdeskHost.ticketsForJIRA("GOOG-349")
.then((freshdeskLinks) => {
console.log(freshdeskLinks)
});