invidious 0.7.8

Get information about videos from YouTube with this simple Invidious API wrapper. Does not use the YouTube API (No tokens required)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::{structs::hidden::MixVideo, traits::PublicItems};
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct Mix {
    pub title: String,
    #[serde(rename = "midId")]
    pub id: String,
    pub videos: Vec<MixVideo>,
}

impl PublicItems for Mix {
    fn url(id: &str, params: &str) -> String {
        format!("api/v1/mixes/{id}{params}")
    }
}