Expand description
Async Xtream Codes API client.
A faithful Rust translation of the @iptv/xtream-api TypeScript library,
providing a typed, async client for Xtream Codes compatible IPTV servers.
§Quick Start
use crispy_xtream::{XtreamClient, XtreamCredentials};
let client = XtreamClient::new(XtreamCredentials::new(
"http://example.com:8080",
"username",
"password",
))?;
let profile = client.authenticate().await?;
let channels = client.get_live_streams(None).await?;
let epg = client.get_short_epg(42, Some(10)).await?;
let xmltv_url = client.xmltv_url();Re-exports§
pub use client::XtreamClient;pub use client::XtreamClientConfig;pub use client::XtreamCredentials;pub use error::XtreamError;pub use types::StreamFormat;pub use types::StreamType;pub use types::XtreamCategory;pub use types::XtreamChannel;pub use types::XtreamEpgListing;pub use types::XtreamEpisode;pub use types::XtreamEpisodeInfo;pub use types::XtreamFullEpg;pub use types::XtreamFullEpgListing;pub use types::XtreamMovie;pub use types::XtreamMovieData;pub use types::XtreamMovieInfo;pub use types::XtreamMovieListing;pub use types::XtreamProfile;pub use types::XtreamSeason;pub use types::XtreamServerInfo;pub use types::XtreamShortEpg;pub use types::XtreamShow;pub use types::XtreamShowInfo;pub use types::XtreamShowListing;pub use types::XtreamUserProfile;pub use crispy_iptv_types;