Skip to content

haibane1986/everhour.net

Repository files navigation

Build Status

Everhour.Net

Everhour API wrapper in .NET Core.

Installation

This library is hosted as a nuget package.

To install Everhour.Net, run the following command.

dotnet add package Everhour.Net

Usage

Create a client object:

var client = new EverhourClient("API_TOKEN_HERE");

Everhour API end points are converted to PascalCase.
So api.everhour.com/users/me becomes

var res = await client.MeAsync();

Notes

It is based on the Everhour API Docs.
However, although it is not listed in the Everhour API Docs, it refers to the key included in the actual request and response.