TheMovieDB 0.1.0

A robust and idiomatic Rust API wrapper for The Movie Database (TMDb) v3 API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use TheMovieDB::account::Authentication;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let auth = Authentication::new();

    println!("Requesting a new authentication token");
    let token_response = auth.token_new().await;
    println!("Authentication Token Response: {:#?}", token_response);

    Ok(())
}