Wakapi unofficial
GET/compat/wakatime/v1/users/{user}/heartbeats

List a user's heartbeats for a date

Lists a user's heartbeats for a specified date. Provide date to select the day and user to identify whose activity to retrieve.

2 parameters
userstringrequired
The username to retrieve heartbeats for, or `current` to use the authenticated user.
datestringrequired
The date for which to retrieve heartbeats; it must be a valid date.

2 status codes
200Returns a heartbeat collection with the user's heartbeat records and the date range and timezone.
dataarray<object>optional
endstringoptional
startstringoptional
timezonestringoptional
400Returned when the supplied date is invalid.

Error handling

A 400 is returned when date is not a valid date. The date query parameter must identify the day to retrieve, and the user path parameter must identify the user or be set to current.