wakatime_api 0.0.2 copy "wakatime_api: ^0.0.2" to clipboard
wakatime_api: ^0.0.2 copied to clipboard

Api wrapper for Wakatime

Wakatime Api #

This package just wraps wakatime api and provides a simple interface to use it.

Get started #

Instantiate the WakatimeApi singleton with your api key

final wakatime = WakatimeApi('your-api-key');

then you can request the heartbeats for a given date just by using

Wakatime().getHeartbeats(DateTime.now())
// Or
Wakatime().getHeartBeatsForRange(
    DateTime(1970, 1, 1),
    DateTime.now(),
)