Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

rspective/node-zoho

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zoho CRM rest api wrapper for node.js

Build Status NPM version Code Climate Stories in Ready

currently supports:

  • authentication
  • insertingRecord on all resources

Currently a WIP, but feel free to ask how you can help.

Product and Module Support

CRM

Method Leads Accounts Contacts Potentials Events Notes
insertRecords
convertLead NA NA NA NA NA
getRecordById
getMyRecords
getRecords
getCVRecords
updateRecords
getSearchRecords
getSearchRecordsByPDC
deleteRecords
getRelatedRecords
getFields
updateRelatedRecords
getUsers
uploadFile
downloadFile
deleteFile
uploadPhoto
downloadPhoto
deletePhoto

More to come...

Example of use

var Zoho = require('node-zoho');

zoho = new Zoho({authToken:'API-TOKEN'});
records = [
  {
    "Lead Source" : "Site Registration",
    "First Name"  : "Test",
    "Last Name"   : "Testerson",
    "Email"       : "[email protected]",
  }
];

zoho.execute('crm', 'Leads', 'insertRecords', records, function (err, result) {
  if (err !== null) {
    console.log(err);
  } else if (result.isError()) {
    console.log(result.message);
  } else {
    console.log(result.data);
  }
});

Contribute

All the code is coffescript, but we deploy compiled js to npm. If you want to help, checkout the git repo and submit a PR.

NPM

Zoho CRM API

About

Zoho API access for NodeJS

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 96.5%
  • JavaScript 3.5%