npm package: @nick22985/wakatime-api
Description: A typescript npm packages to interact with the wakatime api
Author: nick22985
Latest version: 1.0.2

<h3 align="center">@nick22985/wakatime-api

<div align="center">

[![Status](https://img.shields.io/badge/status-active-success.svg)]()
[![GitHub Issues](https://img.shields.io/github/issues/nick22985/wakatime-api.svg)](https://github.com/kylelobo/wakatime-api/issues)
[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/nick22985/wakatime-api.svg)](https://github.com/kylelobo/wakatime-api/pulls)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE)
[![wakatime](https://wakatime.com/badge/github/nick22985/wakatime-api.svg)](https://wakatime.com/badge/github/nick22985/wakatime-api)

</div>

---

<p align="center"> A TypeScript NodeJs client for the <a href="https://wakatime.com/developers#introduction">wakatime API</a>
<br>
</p>

## 📝 Table of Contents

- [📝 Table of Contents](#-table-of-contents)
- [🧐 About <a name = "about">](#-about-a-name--about)
- [🏁 Getting Started <a name = "getting_started"></a>](#-getting-started-)
	- [Prerequisites](#prerequisites)
	- [Installing](#installing)
- [🎈 Usage <a name="usage"></a>](#-usage-)
	- [API](#api)
		- [Create a api instance](#create-a-api-instance)
		- [Custom Base URL](#custom-base-url)
		- [getUser](#getuser)
		- [getMe](#getme)
		- [getUserAgents](#getuseragents)
		- [getMyAgents](#getmyagents)
		- [getUserSummaries](#getusersummaries)
		- [getMySummaries](#getmysummaries)
		- [getStatsAggregated](#getstatsaggregated)
		- [getStats](#getstats)
		- [getMyStats](#getmystats)
		- [getUserProjects](#getuserprojects)
		- [getMyProjects](#getmyprojects)
		- [getPrivateLeaderboardsLeaders](#getprivateleaderboardsleaders)
		- [getMyPrivateLeaderboardsLeaders](#getmyprivateleaderboardsleaders)
		- [getPrivateLeaderboards](#getprivateleaderboards)
		- [getMyPrivateLeaderboards](#getmyprivateleaderboards)
		- [getUsersOrgs](#getusersorgs)
		- [getMyOrgs](#getmyorgs)
		- [getUsersOrgDashboard](#getusersorgdashboard)
		- [getMyOrgsDashboard](#getmyorgsdashboard)
		- [getOrgDashboardMembers](#getorgdashboardmembers)
		- [getMyOrgDashboardMembers](#getmyorgdashboardmembers)
		- [orgDashboardMemberSummaries](#orgdashboardmembersummaries)
		- [orgDashboardMemberDurations](#orgdashboardmemberdurations)
		- [getMyOrgDashboardMemberDurations](#getmyorgdashboardmemberdurations)
		- [getMeta](#getmeta)
		- [getUserMachineNames](#getusermachinenames)
		- [getMyMachineNames](#getmymachinenames)
		- [getLeaders](#getleaders)
		- [getUserHeartbeats](#getuserheartbeats)
		- [getMyHeartbeats](#getmyheartbeats)
		- [getUserGoals](#getusergoals)
		- [getMyGoals](#getmygoals)
		- [getUserExternalDurations](#getuserexternaldurations)
		- [getMyExternalDurations](#getmyexternaldurations)
		- [getEditors](#geteditors)
		- [getUserDurations](#getuserdurations)
		- [getMyDurations<string>](#getmydurationsstring)
		- [getUserDataDump](#getuserdatadump)
		- [getMyDataDump](#getmydatadump)
		- [getUserCommits](#getusercommits)
		- [getMyCommits](#getmycommits)
		- [getUserCommit](#getusercommit)
		- [getMyCommit](#getmycommit)
		- [getUserAllTimeSinceToday](#getuseralltimesincetoday)
		- [getMyAllTimeSinceToday](#getmyalltimesincetoday)
- [⛏️ Built Using <a name = "built_using"></a>](#️-built-using-)
- [✍️ Authors <a name = "authors"></a>](#️-authors-)

## 🧐 About <a name = "about">

This project is using TypeScript to interact with the wakatime API
</a>

## 🏁 Getting Started <a name = "getting_started"></a>

### Prerequisites

What things you need to install the software and how to install them.

```
NodeJs
```

### Installing

```
npm i @nick22985/wakatime-api
```

## 🎈 Usage <a name="usage"></a>

### API

#### Create a api instance

```js
import { WakaTimeApi, RANGE, SLICE_BY, SUMMARY_RANGE } from "@nick22985/wakatime-api";

const client = new wakatime.WakatimeApi("Api-key");
```

or

```js
const wakatime = require("@nick22985/wakatime-api");

const client = new wakatime.WakatimeApi("Api-key");
```

#### Custom Base URL

```js
import { WakaTimeApi, RANGE, SLICE_BY, SUMMARY_RANGE } from "@nick22985/wakatime-api";

const client = new WakatimeApi("Api-key", "Custom-base-URL");
```

#### getUser

- @desc Gets a users stats. <br>
- @scope email <br>
- @param userId users wakatime id <br>
- @returns A single user. <br>
- @example getUser("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e");

```js
let getUser = await client.getUser("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e");
```

#### getMe

- @desc Gets your stats <br>
- @returns Current users waka time data. <br>
- @example await getMe();

```js
let getMe = await wakaClient.getMe();
```

#### getUserAgents

- @desc List of plugins which have sent data for a user. <br>
- @scope read_logged_time <br>
- @param userId users wakatime id<br>
- @returns Gets a users agents.<br>
- @example await getUserAgents("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e");

```js
let getUserAgents = await wakaClient.getUserAgents("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e");
```

#### getMyAgents

- @desc List of plugins which have sent data for this user.<br>
- @returns Gets current users agents.<br>
- @example await getMyAgents();<br>

```js
let getMyAgents = await wakaClient.getMyAgents();
```

#### getUserSummaries

- @desc A user's coding activity for the given time range as an array of summaries segmented by day.<br>
- @scope read_logged_time<br>
- @param userId users wakatime id<br>
- @param start start date in ISO FORMAT<br>
- @param end end date in ISO FORMAT<br>
- @param project optional: project name<br>
- @param branches optional: branch name<br>
- @param timeout optional: timeout in seconds<br>
- @param writes_only optional: only return write data<br>
- @param timezone optional: timezone<br>
- @param range optional: RANGE enum value<br>
- @returns Summary data for a user.<br>
- @example await getUserSummaries("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e", "2019-01-01", "2020-01-31");

```js
let getUserSummaries = await wakaClient.getUserSummaries("<Wakatime ID>", "2019-01-01", "2020-01-31");
```

#### getMySummaries

- @desc A your coding activity for the given time range as an array of summaries segmented by day. <br>
- @param start start date in ISO FORMAT<br>
- @param end end date in ISO FORMAT<br>
- @param project optional: project name<br>
- @param branches optional: branch name<br>
- @param timeout optional: timeout in seconds<br>
- @param writes_only optional: only return write data<br>
- @param timezone optional: timezone<br>
- @param range optional: RANGE enum value<br>
- @returns Summary data for current user.<br>
- @example await getUserSummaries("2019-01-01", "2020-01-31");

```js
let getMySummaries = await wakaClient.getMySummaries("2019-01-01", "2020-01-31");
```

#### getStatsAggregated

- @desc Aggregate stats of all WakaTime users over the given time range.<br>
- @param range optional: RANGE enum value (LAST_7_DAYS, LAST_30_DAYS, LAST_6_MONTHS, LAST_YEAR)<br>
- @returns Stats data for current user.<br>
- @example await getStatsAggregated(SUMMARY_RANGE.LAST_7_DAYS);

```js
let getStatsAggregated = await wakaClient.getStatsAggregated(SUMMARY_RANGE.LAST_7_DAYS);
```

#### getStats

- @desc A user's coding activity for the given time range.<br>
- @scope read_stats<br>
- @param userId users wakatime id<br>
- @param range RANGE enum value (LAST_7_DAYS, LAST_30_DAYS, LAST_6_MONTHS, LAST_YEAR)<br>
- @param timeout optional: timeout in seconds<br>
- @param writes_only optional: only return write data<br>
- @param project optional: project name<br>
- @returns Stats data for a user.<br>
- @example await getStats("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e", RANGE.LAST_7_DAYS);

```js
let getStats = await wakaClient.getStats("<Wakatime ID>", wakatime.RANGE.LAST_7_DAYS);
```

#### getMyStats

- @desc A user's coding activity for the given time range.<br>
- @scope read_stats<br>
- @param range RANGE enum value (LAST_7_DAYS, LAST_30_DAYS, LAST_6_MONTHS, LAST_YEAR)<br>
- @param timeout optional: timeout in seconds<br>
- @param writes_only optional: only return write data<br>
- @param project optional: project name<br>
- @returns Stats data for a user.<br>
- @example await getStats("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e", RANGE.LAST_7_DAYS);

```js
let getMyStats = await wakaClient.getMyStats(wakatime.RANGE.LAST_7_DAYS);
```

#### getUserProjects

- @desc List of WakaTime projects for a user. <br>
- @scope read_logged_time<br>
- @param userId users wakatime id<br>
- @param query optional: Filter project names by a search term.<br>
- @returns Gets a users projects.<br>
- @example await getUserProjects("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e");

```js
let getUserProjects = await wakaClient.getUserProjects("<Wakatime ID>");
```

#### getMyProjects

- @desc List of WakaTime projects for a user. <br>
- @scope read_logged_time<br>
- @param query optional: Filter project names by a search term.<br>
- @returns Gets a users projects.<br>
- @example await getUserProjects("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e");

```js
let getUserProjects = await wakaClient.getMyProjects("<Wakatime ID>");
```

#### getPrivateLeaderboardsLeaders

- @desc List of users in this private leaderboard ranked by coding activity in descending order. <br>
- @scope read_private_leaderboards<br>
- @param userId users wakatime id<br>
- @param board board name<br>
- @param language optional: language name<br>
- @param country_code optional: country code<br>
- @param page optional: page number<br>
- @returns Gets a users Leaderboards.<br>
- @example await getUserLeaderboard("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e", "wakatime");<br>

```js
let getPrivateLeaderboardsLeaders = await wakaClient.getPrivateLeaderboardsLeaders("<Wakatime ID>", "cee8a02b-147f-4881-9b43-5d193fb77d32");
```

#### getMyPrivateLeaderboardsLeaders

- @desc List of users in this private leaderboard ranked by coding activity in descending order. <br>
- @param board board name<br>
- @param language optional: language name<br>
- @param country_code optional: country code<br>
- @param page optional: page number<br>
- @returns Gets a users Leaderboards.<br>
- @example await getUserLeaderboard("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e", "wakatime");<br>

```js
let getMyPrivateLeaderboardsLeaders = await wakaClient.getMyPrivateLeaderboardsLeaders("cee8a02b-147f-4881-9b43-5d193fb77d32");
```

#### getPrivateLeaderboards

- @desc List of users in your private leaderboard ranked by coding activity in descending order. <br>
- @param board board name <br>
- @param language optional: language name <br>
- @param country_code optional: country code <br>
- @param page optional: page number <br>
- @returns Gets current users Leaderboards. <br>
- @example await getPrivateLeaderboards("wakatime");

```js
let getPrivateLeaderboards = await wakaClient.getPrivateLeaderboards("<Wakatime ID>");
```

#### getMyPrivateLeaderboards

- @desc List of users in your private leaderboard ranked by coding activity in descending order. <br>
- @param board board name<br>
- @param language optional: language name<br>
- @param country_code optional: country code<br>
- @param page optional: page number<br>
- @returns Gets current users Leaderboards.<br>
- @example await getMyPrivateLeaderboardsLeaders("wakatime");

```js
let getMyPrivateLeaderboards = await wakaClient.getMyPrivateLeaderboards("<Wakatime ID>");
```

#### getUsersOrgs

- @desc List a user’s organizations. <br>
- @scope read_orgs<br>
- @param userId users wakatime id<br>
- @returns Gets a users Orgs.<br>
- @example await getUserOrgs("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e");

```js
let getUsersOrgs = await wakaClient.getUsersOrgs("<Wakatime ID>");
```

#### getMyOrgs

- @desc List a user’s organizations.
- @returns Gets current users Orgs.
- @example await getMyOrgs();

```js
let getMyOrgs = await wakaClient.getMyOrgs();
```

#### getUsersOrgDashboard

- @desc List a user’s organizations.
- @scope read_orgs
- @param userId users wakatime id
- @param org org UUID
- @returns Gets a users Org Dashboards.
- @example await getUsersOrgDashboard("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e", "wakatime");

```js
let getUsersOrgDashboard = await wakaClient.getUsersOrgDashboard("<Wakatime ID>", "<Wakatime Org UUID>");
```

#### getMyOrgsDashboard

- @desc List the organization’s dashboards.
- @param org org UUID
- @returns Gets current users Org Dashboards.
- @example await getMyOrgsDashboard("wakatime");

```js
let getMyOrgsDashboard = await wakaClient.getMyOrgsDashboard("<Wakatime Org UUID>");
```

#### getOrgDashboardMembers

- @desc List an organization’s members.
- @scope read_orgs
- @param userId users wakatime id
- @param org org UUID
- @param dashboard dashboard name
- @returns Gets a users Org Dashboard.

```js
let getOrgDashboardMembers = await wakaClient.getOrgDashboardMembers("<Wakatime ID>", "<Wakatime Org UUID>", "<Wakatime Org Dashboard>");
```

#### getMyOrgDashboardMembers

- @desc List your organization’s members.
- @param org org UUID
- @param dashboard dashboard UUID
- @returns Gets current users Org Projects.
- @example await getMyOrgDashboardMembers("wakatime", "wakatime");

```js
let getMyOrgDashboardMembers = await wakaClient.getMyOrgDashboardMembers("<Wakatime Org UUID>", "<Wakatime Org Dashboard>");
```

#### orgDashboardMemberSummaries

- @desc An organization dashboard member’s coding activity for the given time range as an array of summaries segmented by day.
- @scope read_orgs
- @param userId users wakatime id
- @param org org UUID
- @param dashboard dashboard UUID
- @param member member name
- @param start start date
- @param end end date
- @param project optional: project name
- @param branches optional: branch name
- @param range optional: RANGE enum value (LAST_7_DAYS, LAST_30_DAYS, LAST_6_MONTHS, LAST_YEAR)
- @returns Gets a users Org Dashboard Summaries.
- @example await orgDashboardMemberSummaries("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e", "wakatime", "wakatime", "nick22985", "2019-01-01", "2020-01-31");

```js
let orgDashboardMemberSummaries = await wakaClient.orgDashboardMemberSummaries(
	"<Wakatime ID>",
	"<Wakatime Org UUID>",
	"<Wakatime Org Dashboard>",
	"nick22985",
	"2021-15-12",
	"2021-19-12"
);
```

#### orgDashboardMemberDurations

- @desc A dashboard member's coding activity for the given day as an array of durations.
- @scope read_orgs
- @param userId users wakatime id
- @param org org UUID
- @param dashboard dashboard UUID
- @param member member name
- @param date date
- @param project optional: project name
- @param branches optional: branch name
- @returns Gets a users Org Dashboard Member Durations.
- @example await orgDashboardMemberDurations("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e", "wakatime", "wakatime", "nick22985", "2019-01-01");

```js
let orgDashboardMemberDurations = await wakaClient.orgDashboardMemberDurations(
	"<Wakatime ID>",
	"<Wakatime Org UUID>",
	"<Wakatime Org Dashboard>",
	"<Wakatime ID>",
	"2021-15-12"
);
```

#### getMyOrgDashboardMemberDurations

- @desc A dashboard member's coding activity for the given day as an array of durations.
- @param org org UUID
- @param dashboard dashboard UUID
- @param member member name
- @param date date
- @param project optional: project name
- @param branches optional: branch name
- @returns Gets current users Org Projects.
- @example await getMyOrgDashboardMemberDurations("wakatime", "wakatime", "nick22985", "2019-01-01");

```js
let getMyOrgDashboardMemberDurations = await wakaClient.getMyOrgDashboardMemberDurations(
	"<Wakatime Org UUID>",
	"<Wakatime Org Dashboard>",
	"<Wakatime ID>",
	"2021-15-12"
);
```

#### getMeta

- @desc A dashboard member's coding activity for the given day as an array of durations.
- @returns Gets information about WakaTime.
- @example await getWakaTimeInfo();

```js
let getMeta = await wakaClient.getMeta();
```

#### getUserMachineNames

- @desc List of machines for this user.
- @scope read_logged_time
- @param userId users wakatime id
- @returns Gets a users Machine names.
- @example await getMachines("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e");

```js
let getUserMachineNames = await wakaClient.getUserMachineNames("<Wakatime ID>");
```

#### getMyMachineNames

- @desc List of machines for this user.
- @returns Gets current users Machine names.
- @example await getMyMachineNames();

```js
let getMyMachineNames = await wakaClient.getMyMachineNames("<Wakatime ID>");
```

#### getLeaders

- @desc List of users ranked by coding activity in descending order.
- @param language language name
- @param is_hireable optional: true or false
- @param country_code optional: country code
- @param page optional: page number
- @returns Gets a list of Leaders.
- @example await getLeaders("python");

```js
let getLeaders = await wakaClient.getLeaders("JavaScript");
```

#### getUserHeartbeats

- @desc A user's heartbeats sent from plugins for the given day as an array.
- @scope read_logged_time
- @param userId users wakatime id
- @param date date
- @returns get a users Heartbeats.
- @example await getUserHeartbeats("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e", "2019-01-01");

```js
let getUserHeartbeats = await wakaClient.getUserHeartbeats("<Wakatime ID>", "2021-28-12");
```

#### getMyHeartbeats

- @desc A user's heartbeats sent from plugins for the given day as an array.
- @param date date
- @returns get current users Heartbeats.
- @example await getMyHeartbeats("2019-01-01");

```js
let getMyHeartbeats = await wakaClient.getMyHeartbeats("2021-28-12");
```

#### getUserGoals

- @desc List a user’s goals.
- @scope read_logged_time
- @param userId users wakatime id
- @returns get a users Heartbeats.
- @example await getUserGoals("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e");

```js
let getUserGoals = await wakaClient.getUserGoals("<Wakatime ID>");
```

#### getMyGoals

- @desc List a user’s goals.
- @returns get current users Heartbeats.
- @example await getMyGoals();

```js
let getMyGoals = await wakaClient.getMyGoals();
```

#### getUserExternalDurations

- @desc A user's external durations for the given day.
- @scope read_logged_time
- @param userId users wakatime id
- @param date date
- @param project optional: project name
- @param branches optional: branch name
- @param timezone optional: timezone
- @returns gets a users external durations on a given day
- @example await getUserExternalDurations("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e", "2019-01-01");

```js
let getUserExternalDurations = await wakaClient.getUserExternalDurations("<Wakatime ID>", "2021-28-12");
```

#### getMyExternalDurations

- @desc A user's external durations for the given day.
- @param date date
- @param project optional: project name
- @param branches optional: branch name
- @param timezone optional: timezone
- @returns gets a users external durations on a given day

```js
let getMyExternalDurations = await wakaClient.getMyExternalDurations("2021-28-12");
```

#### getEditors

- @desc List of WakaTime IDE plugins, latest plugin versions, and their color used on WakaTime charts.
- @param unreleased Show unreleased editor plugins
- @returns List of WakaTime IDE plugins versions
- @example await getEditors();

```js
let getEditors = await wakaClient.getEditors();
```

#### getUserDurations

- @desc A user's coding activity for the given day as an array of durations
- @scope read_logged_time
- @param userId users wakatime id
- @param date date
- @param project optional: project name
- @param branches optional: branch name
- @param timeout optional: timeout
- @param writes_only optional: true or false
- @param timezone optional: timezone
- @param slice_by optional: DEFAULT Entity enum: entity, language, dependencies, os, editor, category or machine
- @returns Gets a users durations.
- @example await getUserDurations("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e", "2019-01-01");

```js
let getUserDurations = await wakaClient.getUserDurations("<Wakatime ID>", "2021-28-12");
```

#### getMyDurations<string>

- @desc Your coding activity for the given day as an array of durations
- @scope read_logged_time
- @param date date
- @param project optional: project name
- @param branches optional: branch name
- @param timeout optional: timeout
- @param writes_only optional: true or false
- @param timezone optional: timezone
- @param slice_by optional: DEFAULT Entity enum: entity, language, dependencies, os, editor, category or machine
- @returns Gets a users durations.
- @example await getUserDurations("2019-01-01");

```js
let getMyDurations = await wakaClient.getMyDurations("2021-28-12");
```

#### getUserDataDump

- @desc List data exports for the user.
- @scope read_logged_time
- @param userId users wakatime id
- @returns List of data exports for the user
- @example await getUserDataDump("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e");

```js
let getUserDataDump = await wakaClient.getUserDataDump("<Wakatime ID>");
```

#### getMyDataDump

- @desc List data exports for the user.
- @returns List of data exports for the user
- @example await getMyDataDump();

```js
let getMyDataDump = await wakaClient.getMyDataDump("<Wakatime ID>");
```

#### getUserCommits

- @desc List of commits for a WakaTime project showing the time spent coding in each commit.
- @scope read_logged_time
- @param userId users wakatime id
- @param project project name
- @param author optional: author name
- @param branch optional: branch name
- @param page optional: page number
- @returns List of commits for the user
- @example await getUserCommits("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e");

```js
let getUserCommits = await wakaClient.getUserCommits("<Wakatime ID>");
```

#### getMyCommits

- @desc List of commits for a WakaTime project showing the time spent coding in each commit.
- @param project optional: project name
- @param author optional: author name
- @param branch optional: branch name
- @param page optional: page number
- @returns List of commits for the current user
- @example await getMyCommits();

```js
let getMyCommits = await wakaClient.getMyCommits();
```

#### getUserCommit

- @desc A single commit from a WakaTime project showing the time spent coding on the commit.
- @scope read_logged_time
- @param userId users wakatime id
- @param project project name
- @param hash commit hash
- @param branch optional: branch name
- @returns List a user commits for a given commit hash
- @example await getUserCommit("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e", "my-project", "1234567890");

```js
let getUserCommit = await wakaClient.getUserCommit("<Wakatime ID>", "Dev-Stats", "736ed941e069e2c910b86266243965ea745a8050");
```

#### getMyCommit

- @desc A single commit from a WakaTime project showing the time spent coding on the commit.
- @param project optional: project name
- @param hash optional: commit hash
- @param branch optional: branch name
- @returns List the current user commits for a given commit hash
- @example await getMyCommit("my-project", "1234567890");

```js
let getMyCommit = await wakaClient.getMyCommit("Dev-Stats", "736ed941e069e2c910b86266243965ea745a8050");
```

#### getUserAllTimeSinceToday

- @desc The total time logged since account created, available even for Free accounts.
- @scope read_stats
- @param userId users wakatime id
- @param project optional: project name
- @returns The total time logged since account created. Even for free accounts
- @example await getUserAllTimeSinceToday("1f89b85e-54a8-4f75-86a2-f9b7d47ba30e");

```js
let getUserAllTimeSinceToday = await wakaClient.getUserAllTimeSinceToday("<Wakatime ID>");
```

#### getMyAllTimeSinceToday

- @desc The total time logged since account created, available even for Free accounts.
- @scope read_stats
- @param userId users wakatime id
- @param project optional: project name
- @returns The total time logged since account created. Even for free accounts
- @example await getMyAllTimeSinceToday();

```js
let getMyAllTimeSinceToday = await wakaClient.getMyAllTimeSinceToday("<Wakatime ID>");
```

## ⛏️ Built Using <a name = "built_using"></a>

- [NodeJs](https://nodejs.org/en/)

## ✍️ Authors <a name = "authors"></a>

- [@nick22985](https://github.com/nick22985)