Created
October 29, 2020 13:37
-
-
Save zupzup/fb738916b00be63079d95ec50c706c75 to your computer and use it in GitHub Desktop.
Timeular Public API activities tracking
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if !activities.is_empty() { | |
println!("starting to track..."); | |
let tracking = start_tracking(&activities.get(0).expect("exists").id, &token).await?; | |
println!("started tracking: {:?}", tracking); | |
let time_entry = stop_tracking(&token).await?; | |
println!("created time entry: {:?}", time_entry); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment