Module ytextract::video[][src]

Expand description

Video types.

Example

let client = ytextract::Client::new().await?;

let video = client.video("nI2e-J6fsuk".parse()?).await?;

println!("Title: {}", video.title());

Structs

Id

A Id describing a Video.

Video

A Video found on YouTube

Enums

Error

A Error that occurs when querying a Video.

IdError

The Error produced when a invalid Id is encountered

PlayabilityErrorCode

A error-code returned by YouTube when a Video is unplayable

Ratings

Ratings on a video