[−][src]Crate yt_api
yt-api
With the yt-api
crate you can interact asynchronously with the youtube-api.
Performing a search query
To perform a search query, you can use the perform
function on the SearchList
query.
let search_list = SearchList::new(ApiKey::new("your-youtube-api-key")).q("rust lang"); let future = async move { let result = search_list.perform().await.unwrap(); }; tokio::run(future.unit_error().boxed().compat());
Modules
search |
Structs
ApiKey |