Expand description
§altstream-api
Rust API wrapper for the alternative streaming platform AltStream Online
§Disclaimer
This library is not well tested, and the AltStream API is brand new and may see breaking changes in the future. Use at your own risk.
§Example
let username = "letsgoashe"; // The creator of AltStream!
let channel_info = altstream_api::get_channel_info(username).await?;
let bio: Option<String> = channel_info.bio;
let live: bool = channel_info.stream.is_live;
let game: String = channel_info.stream.game.ok_or("No game")?.name;
Structs§
- Channel
Emote Info - Information about a channel emote.
- Channel
Emotes - A channel’s emotes.
- Channel
Info - Information about a channel.
- Channel
Reward Info - Information about a channel reward.
- Channel
Rewards - A channel’s rewards.
- Game
Info - Information about a game.
- Panel
Info - Information about a channel panel.
- Panels
- A channel’s panels.
- Stream
Info - Information about a channel’s stream.
- Stream
Tags - Tags associated with a channel’s stream.
- User
Settings - A user’s settings.
Functions§
- get_
channel_ emotes - Get information about a channel’s emotes.
- get_
channel_ info - Get information about a channel.
- get_
channel_ panels - Get information about a channel’s panels.
- get_
channel_ rewards - Get information about a channel’s rewards.
- get_
stream_ tags - Get information about a stream’s tags.
- get_
user_ channel_ settings - Get information about a user’s settings for a specific channel.
- get_
user_ settings - Get information about a user’s settings.