TheMovieDB 0.1.0

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

The `find` module provides functionality to find TMDb data using external IDs and to retrieve trending content.

## Structs

### `Find`

Represents the TMDb Find API, allowing you to search for TMDb objects by their external ID (e.g., IMDb ID).

#### Methods

- `new(id: String) -> Self`: Creates a new `Find` instance with the external ID to search for.
- `info(options: Option<HashMap<String, String>>) -> Result<Value, Box<dyn std::error::Error>>`: Retrieves TMDb data associated with the external ID. Requires an `external_source` option (e.g., `imdb_id`).

### `Trending`

Represents the TMDb Trending API, allowing you to retrieve a list of trending movies, TV shows, or people.

#### Methods

- `new(media_type: Option<String>, time_window: Option<String>) -> Self`: Creates a new `Trending` instance. `media_type` can be `all`, `movie`, `tv`, or `person` (defaults to `all`). `time_window` can be `day` or `week` (defaults to `day`).
- `info(options: Option<HashMap<String, String>>) -> Result<Value, Box<dyn std.error::Error>>`: Retrieves trending content based on the `media_type` and `time_window`.