mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 15:27:28 +00:00
10 lines
237 B
Rust
10 lines
237 B
Rust
|
|
use gamedig::games::csgo;
|
|
|
|
fn main() {
|
|
let response = csgo::query("51.38.142.109", None);
|
|
match response {
|
|
Err(error) => println!("Couldn't query, error: {error}"),
|
|
Ok(r) => println!("{:?}", r)
|
|
}
|
|
}
|