zoho-people-icon Zoho People Client v1.0.0 released.

ZohoPeopleClient - C# asynchronous client library to interact with the Zoho People API.

Supported API

  • TimeLogAPI (Get/Add/Delete)
  • JobsAPI (Get)
  • LeaveAPI (GetHolidays)
  • FetchRecordAPI (Get)

NuGet Package

NuGet package

Source Code

GitHub

Current Release

Latest Release

Build Status

Build Status

Examples

Sign in with login and password

var client = new ZohoClient();
var token = await client.LoginAsync(login, password);
// save token for further use

Sing in with token

// load token from storage
var client = new ZohoClient();
client.Login(token);

Get TimeLog items

var timeLogItems = await client.TimeTracker.TimeLog.GetAsync(
 "testUser@email.com",
 new DateTime(2015, 07, 01),
 new DateTime(2015, 07, 20));

Add TimeLog record

var newLogId = await client.TimeTracker.TimeLog.AddAsync(
 "testUser@email.com",
 new DateTime(2015, 07, 30),
 "269998000000314122",
 TimeSpan.FromHours(8),
 "non-billable");