Initial impl

This commit is contained in:
2024-07-15 15:59:30 +01:00
parent bd5608a1de
commit 5539b7706d
5 changed files with 100 additions and 6 deletions
+7 -1
View File
@@ -1,8 +1,14 @@
use toggl::TogglApi;
mod toggl;
mod sensitive;
#[tokio::main]
async fn main() {
let api = TogglApi::new("api_key".to_string(), 123);
let api = TogglApi::new(
sensitive::API_TOKEN,
sensitive::WORKSPACE_ID,
);
dbg!(api.get_current_time_entry().await);
}