Web API wrapper for Zoho People
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ZohoPeopleClient.ManualTest
ZohoPeopleClient.Test
ZohoPeopleClient
.gitignore
LICENSE
README.md
ZohoPeopleClient.sln

README.md

ZohoPeopleClient

A C# asynchronous client library to interact with the Zoho People API. The client does not fully implement all the API features.

Supported API:

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

Build Build status

The nuget package NuGet Status

https://nuget.org/packages/ZohoPeopleClient/

PM> Install-Package ZohoPeopleClient

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");