search_collection: Search for lists by name and description.

Description Usage Arguments Value Author(s) References Examples

View source: R/search_collection.R

Description

Retrieve all the company ID that match (entirely or partially) the query.

Usage

1
search_collection(api_key, query, page = 1, language = NA)

Arguments

api_key

Your TMDb Consumer Key.

query

A CGI escaped string.

page

The number of the page to show. Minimum 1, maximum 1000.

language

A ISO 639-1 code.

Value

A list with the following fields:

page

The current page for the results.

results

The collections that match the query.

total_pages

The number of pages for the results.

total_results

The number of results.

Author(s)

Andrea Capozio

References

https://developers.themoviedb.org/3/getting-started

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
## An example of an authenticated request,
## where api_key is fictitious.
## You can obtain your own at https://www.themoviedb.org/documentation/api

api_key <- "key"

search_collection(api_key = api_key, query = "Marvel", language = "it")

## End(Not run)

TMDb documentation built on March 17, 2020, 1:06 a.m.

Related to search_collection in TMDb...