Crates.io | icecast-stats |
lib.rs | icecast-stats |
version | 0.1.2 |
source | src |
created_at | 2021-04-10 15:33:44.959232 |
updated_at | 2024-01-14 12:50:57.702271 |
description | Decode icecast server information from JSON |
homepage | |
repository | https://github.com/segler-alex/icecast-stats |
max_upload_size | |
id | 381714 |
size | 47,188 |
Decode server status from an icecast server.
use icecast_stats::fetch;
let url_str = "https://stream.example.com:8000/somestream";
let stats = fetch(url_str).unwrap();
println!("{:#?}", stats);