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
13
14
15
# Discover Module

The `discover` module provides functionality to discover movies and TV shows based on various criteria.

## Structs

### `Discover`

Represents the TMDb Discover API, allowing you to search for movies and TV shows with filters.

#### Methods

- `new() -> Self`: Creates a new `Discover` instance.
- `movie(options: Option<HashMap<String, String>>) -> Result<Value, Box<dyn std::error::Error>>`: Discovers movies based on the provided options. Supports `_gte` and `_lte` suffixes for parameters like `primary_release_date` and `vote_average`.
- `tv(options: Option<HashMap<String, String>>) -> Result<Value, Box<dyn std::error::Error>>`: Discovers TV shows based on the provided options. Supports `_gte` and `_lte` suffixes for parameters like `first_air_date` and `vote_average`.