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
use crate::ClientAsyncTrait;

#[tokio::test]
async fn trending() {
    crate::ClientAsync::default()
        .method(crate::MethodAsync::Reqwest)
        .trending(None)
        .await
        .unwrap();
}

#[tokio::test]
async fn popular() {
    crate::ClientAsync::default()
        .method(crate::MethodAsync::Reqwest)
        .popular(None)
        .await
        .unwrap();
}

#[tokio::test]
async fn stats() {
    crate::ClientAsync::default()
        .method(crate::MethodAsync::Reqwest)
        .stats(None)
        .await
        .unwrap();
}

#[tokio::test]
async fn playlist() {
    crate::ClientAsync::default()
        .method(crate::MethodAsync::Reqwest)
        .playlist("PLdgHTasZAjYaI2DUfqe70I82o9clPGyiO", None)
        .await
        .unwrap();
}

#[tokio::test]
async fn search() {
    crate::ClientAsync::default()
        .method(crate::MethodAsync::Reqwest)
        .search(Some("q=testing"))
        .await
        .unwrap();
}

#[tokio::test]
async fn search_suggestions() {
    assert!(!crate::ClientAsync::default()
        .method(crate::MethodAsync::Reqwest)
        .search_suggestions(Some("q=test"))
        .await
        .unwrap()
        .suggestions
        .is_empty())
}