Assistance de TMDB

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 réponse (sur la page 1 sur 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

Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.

Général

s Mettre le curseur dans la barre de recherche
p Ouvrir le menu du profil
esc Fermer une fenêtre ouverte
? Ouvrir la fenêtre des raccourcis clavier

Sur les pages des médias

b Retour (ou vers le parent si faisable)
e Afficher la page de modification

Sur les pages des saisons des émissions télévisées

Afficher la saison suivante (flèche droite)
Afficher la saison précédente (flèche gauche)

Sur les pages des épisodes des émissions télévisées

Afficher l'épisode suivant (flèche droite)
Afficher l'épisode précédent (flèche gauche)

Sur toutes les pages des images / photos

a Ouvrir la fenêtre d'ajout d'image / photo

Sur toutes les pages de modifications

t Ouvrir le sélecteur de traduction
ctrl+ s Envoyer le formulaire

Sur les pages des discussions

n Créer une nouvelle discussion
w Basculer le statut de suivi
p Basculer publique / privée
c Basculer fermer / ouvrir
a Ouvrir l'activité
r Répondre à la discussion
l Afficher la dernière réponse
ctrl+ enter Envoyer votre message
Page suivante (flèche droite)
Page précédente (flèche gauche)

Paramètres

Vous souhaitez évaluer ou ajouter cet élément à une liste ?

Connexion