Soporte de The Movie Database

Hello, I am trying to use this API to find movies that are or have been popular in a country, and I am finding varying levels of success, but not often. Is there a way to do this that I am overlooking? Right now, I am using /discover and country_codes "US" or "CA" with language_code "en."

1 respuesta (en la página 1 de 1)

Jump to last post

@Moyinekundayo said:
Using TMDB api to find movies from a country.
Hello,
I am trying to use this API to find movies that are or have been popular in a country, and I am finding varying levels of success, but not often.
Is there a way to do this that I am overlooking?
Right now, I am using /discover and country_codes "US" or "CA" with language_code "en."

The filter for films shown in a country is region.
I don't know if the region parameter returns the popularity index of this parameter only.
I believe it returns films that were shown in this region but with worldwide popularity.

To filter films shown in a specific country use &region=.
To filter by country of origin use &with_origin_country=
And to filter by language use &with_original_language=.
Example with BR and pt:

https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&language=en-US&region=BR&sort_by=popularity.desc&with_origin_country=BR&with_original_language=pt

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de debate

n crear nuevo debate
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder al debate
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión