This is yet another client for TMDB but it supports async functions.
bash
cargo add tmdb-api
```rust use tmdbapi::tvshow::search::TVShowSearch; use tmdbapi::prelude::Command; use tmdb_api::Client;
async fn main() { let secret = std::env::var("TMDBTOKENV3").unwrap(); let client = Client::new(secret); let cmd = TVShowSearch::new("simpsons".into());
let result = cmd.execute(&client).await.unwrap();
let item = result.results.first().unwrap();
println!("TVShow found: {}", item.inner.name);
}
```
bash
cargo test
If you want to run some integration tests, just export a TMDB_TOKEN_V3
environemnt variable and run
bash
cargo test --features integration