use instances_social::Client; use std::env; fn main() { dotenv::dotenv().expect("Couldn't execute dotenv()"); let token = env::var("INSTANCES_SOCIAL_TOKEN").expect("A token is required, set the env var INSTANCES_SOCIAL_TOKEN to run this example"); let client = Client::new(&token); let response = client.instances().list().send().expect("Couldn't make request"); println!("{:#?}", response); }