{"id":16162351,"url":"https://github.com/sunsided/waka-rs","last_synced_at":"2025-05-07T07:10:23.015Z","repository":{"id":179548417,"uuid":"663677110","full_name":"sunsided/waka-rs","owner":"sunsided","description":"A client to fetch your coding statistics from WakaTime.","archived":false,"fork":false,"pushed_at":"2024-02-26T11:25:33.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-11T23:13:58.079Z","etag":null,"topics":["client","rust","wakatime","wakatime-api"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/waka","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"eupl-1.2","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sunsided.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-07T21:18:14.000Z","updated_at":"2024-02-25T14:07:35.000Z","dependencies_parsed_at":"2024-11-02T08:01:05.004Z","dependency_job_id":"ced617ba-fb9d-433b-8e1f-c44658e1c616","html_url":"https://github.com/sunsided/waka-rs","commit_stats":null,"previous_names":["sunsided/waka-rs"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunsided%2Fwaka-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunsided%2Fwaka-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunsided%2Fwaka-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunsided%2Fwaka-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sunsided","download_url":"https://codeload.github.com/sunsided/waka-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246432908,"owners_count":20776481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["client","rust","wakatime","wakatime-api"],"created_at":"2024-10-10T02:29:51.423Z","updated_at":"2025-04-01T00:32:16.715Z","avatar_url":"https://github.com/sunsided.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WakaTime client for Rust\n\nA client to fetch your coding statistics from [WakaTime](https://wakatime.com/) given your API key.\n\n```rust\nuse std::error::Error;\nuse waka::WakaTimeClientBuilder;\n\n#[tokio::main]\npub async fn main() -\u003e Result\u003c(), Box\u003cdyn Error\u003e\u003e {\n    dotenvy::dotenv().ok();\n    let api_key = std::env::var(\"WAKATIME_API_KEY\").expect(\"Missing WAKATIME_API_KEY variable\");\n\n    let client = WakaTimeClientBuilder::new_with_api_key(api_key)\n        .with_user(\"sunside\")\n        .build()?;\n\n    let summary = client\n        .summaries(\"2023-01-01\", \"2023-01-08\", SummariesOptions::default())\n        .await?;\n    println!(\"{summary:?}\");\n\n    Ok(())\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunsided%2Fwaka-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunsided%2Fwaka-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunsided%2Fwaka-rs/lists"}