TheMovieDB 0.1.0

A robust and idiomatic Rust API wrapper for The Movie Database (TMDb) v3 API.
Documentation
# People Module

The `people` module provides functionality to retrieve information about people (actors, directors, etc.) and their associated credits on TMDb.

## Structs

### `People`

Represents the TMDb People API, allowing you to retrieve detailed information about a person, their changes, movie credits, TV credits, combined credits, external IDs, images, tagged images, and translations. It also supports fetching the latest and popular people.

#### Methods

- `new(id: Option<i32>) -> Self`: Creates a new `People` instance with an optional person ID. If no ID is provided, it can be used for `latest` and `popular` methods.
- `info(options: Option<HashMap<String, String>>) -> Result<Value, Box<dyn std.error::Error>>`: Retrieves primary information about a person.
- `changes(options: Option<HashMap<String, String>>) -> Result<Value, Box<dyn std::error::Error>>`: Retrieves the changes for a person.
- `movie_credits(options: Option<HashMap<String, String>>) -> Result<Value, Box<dyn std.error::Error>>`: Retrieves the movie credits for a person.
- `tv_credits(options: Option<HashMap<String, String>>) -> Result<Value, Box<dyn std::error::Error>>`: Retrieves the TV credits for a person.
- `combined_credits(options: Option<HashMap<String, String>>) -> Result<Value, Box<dyn std::error::Error>>`: Retrieves the combined movie and TV credits for a person.
- `external_ids(options: Option<HashMap<String, String>>) -> Result<Value, Box<dyn std.error::Error>>`: Retrieves the external IDs for a person.
- `images(options: Option<HashMap<String, String>>) -> Result<Value, Box<dyn std.error::Error>>`: Retrieves the images for a person.
- `tagged_images(options: Option<HashMap<String, String>>) -> Result<Value, Box<dyn std::error::Error>>`: Retrieves the tagged images for a person.
- `translations(options: Option<HashMap<String, String>>) -> Result<Value, Box<dyn std.error::Error>>`: Retrieves the translations for a person.
- `latest(options: Option<HashMap<String, String>>) -> Result<Value, Box<dyn std::error::Error>>`: Retrieves the latest person added to TMDb.
- `popular(options: Option<HashMap<String, String>>) -> Result<Value, Box<dyn std::error::Error>>`: Retrieves a list of popular people.

### `Credits`

Represents the TMDb Credits API, allowing you to retrieve information about a specific credit.

#### Methods

- `new(credit_id: String) -> Self`: Creates a new `Credits` instance with a specific credit ID.
- `info(options: Option<HashMap<String, String>>) -> Result<Value, Box<dyn std::error::Error>>`: Retrieves primary information about a credit.