Sync your own workout data from your "Strong" app
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

removed dead code

tolik518 a5a75007 8b7d1925

+1 -4
+1 -4
strong-api-fetch/src/main.rs
··· 6 6 use std::fs; 7 7 use std::path::Path; 8 8 use strong_api_lib::data_transformer::{DataTransformer, Workout}; 9 - use strong_api_lib::json_response::{MeasurementsResponse, UserResponse}; 9 + use strong_api_lib::json_response::MeasurementsResponse; 10 10 use strong_api_lib::strong_api::{Includes, StrongApi}; 11 11 12 12 #[tokio::main] ··· 30 30 31 31 // Fetch user data with logs. 32 32 let user = strong_api.get_user("", 500, vec![Includes::Log]).await?; 33 - //let response_text = std::fs::read_to_string("response_1742332448.json")?; 34 - 35 - //let user: UserResponse = serde_json::from_str(&response_text)?; 36 33 37 34 println!( 38 35 "Measurements count: {}/{}",