Initial impl
This commit is contained in:
+7
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user