use ipspin::IPSpin; #[tokio::main] async fn main() { let api_key = "API_KEY"; let ipspin = IPSpin::builder(api_key); let result = ipspin.fetch("https://ifconfig.io/ip").await.unwrap(); println!("Result: {:?}", result); let credits = ipspin.check_credits().await.unwrap(); println!("Current IPSpin credits: {:?}", credits); }