pub async fn call_mc_api<T: DeserializeOwned>( url: &str, access_token: &str, client: &Client, ) -> Result<T>
Utility function to query the Minecraft Services API with correct authorization