Skip to content
karolisgPublic
forked from ahmader/node-zoho

About

Zoho API access for NodeJS

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

124 Commits

Folders and files

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 ✓ ✓ ✓
searchRecords ✓ ✓ ✓
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"       : "test@testerson.com",
  }
];

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.

Release instructions

  1. Wait for TravisCI confirmation that latest merge passes tests.
  2. Run grunt bump. This bumps the package.json version, tags this version and pushes it.
  3. npm publish will compile the CoffeeScript and push the latest version to npmjs.org

NPM

Zoho CRM API

About

Zoho API access for NodeJS

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages