1.0.6 • Published 3 years ago
@es50678/tazij v1.0.6
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)
});