Axuda de The Movie Database

Im trying to use the discover API for movies and tv and there ar e many fields that im not sure what they do. For example whats the difference between watch_region and region? also it doesnt specify in what format should I write the region. For example spain should be SP, ES, Spain, España? or what is the difference between primary_release_date and release_date?

1 resposta (na páxina 1 de 1)

Jump to last post

@gerardPolloRebozado said:

Im trying to use the discover API for movies and tv and there ar e many fields that im not sure what they do.
For example whats the difference between watch_region and region?

watch_region
Only effective when used in conjunction with with_watch_monetization_types or with_watch_providers.
https://developer.themoviedb.org/reference/watch-providers-available-regions

region
Refines the response to just one region, i.e. one country,
Basically filters for Certification.

also it doesnt specify in what format should I write teh region.

Value format.
ISO 693-1 - 2 lowercase letters for languages.
https://developer.themoviedb.org/reference/configuration-languages
ISO 3166-1 - 2 uppercase letters for countries or regions.
https://developer.themoviedb.org/reference/configuration-countries
YYYY-MM-DD - For dates. (Example from today 2023-07-31)

For example spain should be SP, ES, Spain, España?

es-ES - spanish-Spain
es - Spanish
ES - Spain

or what is the difference between primary_release_data and release_date?

primary_release_date
This is the worldwide release date.
It defines the year/date that appears in parentheses next to the title on a Movie or Series page.

release_date
All the premiere or re-release dates of a Movie in any country in the world, in any format, type or location.
Festival, Movie Theater, TV, Physical (DVD, Blu-ray, etc.), Digital for download, rental or sale, etc.

If I'm not mistaken...
When the region is specified, it returns the premiere date in that specified region.
When the region is not specified, it returns the worldwide premiere date, i.e. primary_release_date

Non podes atopar unha película ou serie? Inicia sesión para creala.

Global

s amosar a barra de procura
p abrir menú do perfil
esc pechar e abrir xanela
? abrir xanela de atallos do teclado

En páxinas de medios

b atrás (ou á principal se aplica)
e ir a editar páxina

En páxinas de tempadas de televisión

(flecha dereita) ir á tempada seguinte
(flecha esquerda) ir á tempada anterior

En páxinas de episodios de televisión

(flecha dereita) ir ao episodio seguinte
(flecha esquerda) ir ao episodio anterior

En todas as páxinas de imaxe

a abrir a xanela de engadir imaxe

En todas as páxinas de edición

t abrir selector de traducións
ctrl+ s enviar formulario

Nas páxinas de debate

n crear un novo debate
w amosar o estado do seguimento
p mudar público/privado
c mudar abrir/pechar
a abrir actividade
r responder no debate
l ir á última resposta
ctrl+ enter eviar a túa mensaxe
(flecha dereita) páxina seguinte
(flecha esquerda) ir á páxina anterior

Configuración

Queres valorar ou engadir o elemento a unha listaxe?

Iniciar sesión