1.1.1 • Published 4 years ago

zoho-package v1.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

Zoho NPM Package

Connecting To zoho services and manage most of the API's

Features

  • Handling oAuth
  • Zoho People

Installation

Using github
git clone git@github.com:farazfaraji/zoho-package
cd zoho-package
npm install
Using package
const People = require("zoho-package").People;
const people = new People("APP_NAME","CLIENT_ID","CLIENT_SECRET","REFRESH_TOKEN");

if you are using this package for many tokens you should separate APP_NAME

Available Classes

  • People
  • CRM
  • Orchestly

Get zoho credential

const Zoho = require("zoho-package").Zoho;
const zoho  = new Zoho(CLIENT_ID,CLIENT_SECRET,null);
zoho.initialize(["ZohoCRM.modules.ALL"],"http://github.com/redirect");
  • In the console, you can see one link, Click on that and copy code from URL,
  • Replace your code in curl CLI and run it.

#Zoho People Functions

  • getForms(formName,sIndex=1,*limit=200)
    • *limit (maximum 200)
  • getFormsAllData(formName)
  • getAttendanceReport(sdate<MM/dd/YYYY>,edate<MM/dd/YYYY>,*employee_id)
    • employee_id null for all employees
  • updateForms(formName,data\,recordId)
  • getEmployeeLeaves(employeeId,fromDate<MM/dd/YYYY>,endDate<MM/dd/YYYY>)
  • fetchSingleLeave(recordId)
  • getLeavesType(employeeId)
  • getHolidays(employeeId)
  • insertRecord(formName,data\)

#Zoho Orchestly - Or QNTRL

  • getAllJobs(org_id,parameters\)
  • getAllOfAllJobs(org_id,parameters\)
  • getAllReports(org_id)
  • getReport(org_id,report_id)
  • getAllLayout(org_id)
  • getLayer(org_id,layout_id)
  • getAllCustomFields(org_id)
  • getJobDetail(org_id,job_id,parameters\)

#Zoho Functions

  • removeToken
  • fetchLastToken
  • customRequest
  • initialize

#Support Please don't forget to contact with me if you have any problem: #####Email Address: faraz.faraji@gmail.com #####Git Repo: https://github.com/farazfaraji/zoho-packages

1.1.1

4 years ago

1.1.0

4 years ago

1.0.20

4 years ago

1.0.19

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago