ytextract - A library for getting YouTube metadata

Github Crates.io docs.rs GitHub Workflow Status


This includes:

Basic Example

```rust

[async_std::main]

async fn main() -> Result<(), Box> { // Get a Client for making request let client = ytextract::Client::new().await?;

// Get information about the Video identified by the id "nI2e-J6fsuk".
let video = client.video("nI2e-J6fsuk".parse()?).await?;

// Print the title of the Video
println!("Title: {}", video.title());

Ok(())

} ```

More examples can be found here: examples

Notes