Wakapi : wakatime API client
This crate is a Work In Progress API client for the Wakatime API. It is NOT ready for production.
The following endpoints are implemented, only in read mode (GET requests):
- Commits : [Commits], [CommitsParams], [Commits::fetch]
- Projects : [Projects], [ProjectsParams], [Projects::fetch]
- Commit : [Commit], [CommitParams], [Commit::fetch]
- Stats : [Stats], [StatsParams], [Stats::fetch]
- Durations : [Durations], [DurationsParams], [Durations::fetch]
- Summaries : [Summaries], [SummariesParams], [Summaries::fetch]
- Heartbeats : [Heartbeats], [HeartbeatsParams], [Heartbeats::fetch]
- All Time Since Today : [AllTimeSinceToday], [AllTimeSinceTodayParams], [AllTimeSinceToday::fetch]
The structures are based on the official documentation at 2024-10-01 with a few modifications to correct some errors / inconsistencies.
Usage
use ;
let client = new;
let res = fetch.unwrap;
println!;
License
This project is licensed under the MIT License.