use dns_wrapper::api::output::fetch_output; use dns_wrapper::api::ApiKey; #[tokio::test] async fn output_test() { ApiKey::set_apikey("0"); let _nation_data = match fetch_output(2330).await { Ok(data) => println!("{:#?}", data), Err(e) => { println!("{:?}", e); } }; }