This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

node-kayako

0.1.3 • Public • Published

node-kayako

NPM version Dependency Status

As the name already implies, this project implements the API for Kayako, a helpdesk system.

The implementation currently only allows to retrieve data from Kayako. Updating records will be implemented in the future.

Getting started

In your shell, install with npm:

npm install node-kayako

In your code:

var kayako = require('node-kayako');
 
var client = new kayako({
    host: <kayako-host>,
    apikey: <kayako-apikey>,
    secret: <kayako-secret>
});
 
client.userorganizations.get(function (err, organizations) {
    if(err) {
        console.log(err);
    } else {
        console.log(organizations);
    }
});

Unit test

You can run the automated unit test using the following command line:

HOST=YOUR_KAYAKO_HOST APIKEY=YOUR_APIKEY SECRET=YOUR_SECRET npm test

YOUR_KAYAKO_HOST, YOUR_APIKEY and YOUR_SECRET need to be replaced with correct values.

Although, the unit test is desgined to not modify your Kayako installation (it deletes all objects it creates and does not modify or delete already existing objects), please use it at your OWN RISK.

References

Formalia

Copyright (C) 2013 by Florian Holzapfel

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Readme

Keywords

none

Package Sidebar

Install

npm i node-kayako

Weekly Downloads

0

Version

0.1.3

License

MIT

Unpacked Size

54.9 kB

Total Files

28

Last publish

Collaborators

  • fholzapfel