tmdb-async 0.7.2

The Movie Database (TMDb) API for async Rust
Documentation
1
2
3
4
5
6
7
8
use tmdb_async::Client;

#[tokio::main]
async fn main() {
	let client = Client::new(env!("TMDB_API_KEY").to_string());
	let movie = client.movie_by_id(2277, true, true).await.unwrap();
	println!("{:#?}", movie);
}