schetube

Rust

A library to fetch upcoming live streams from a YouTube channel.

📦 Installation

toml [dependencies] schetube = "0.1"

💚 Example

$ cd ./example $ cargo run [Channel ID]

🔌 API

📝 List of structs and functions are available at docs.rs .

```rust pub async fn fetchupcomingvideos(channelid: &str) -> Result<(Channel, Vectovideos(response: &ApiResponse) -> Option>; pub fn responseto_channel(response: &ApiResponse) -> Option;

impl Client { pub fn new(client: reqwest::Client) -> Self; pub fn create(name: &str, version: &str) -> Result>; pub async fn build() -> Result>; pub async fn fetchupcominglivestreams(&self, channelid: &str) -> Result>; } ```