Поддержка 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 ответ (на странице 1 из 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

Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.

Глобальные

s фокусироваться на панели поиска
p открыть меню профиля
esc закрыть открытое окно
? открыть окно сочетаний клавиш

На страницах медиа

b назад (или выше, если применимо)
e перейти на страницу правки

На страницах сезонов

(стрелка вправо) перейти к следующему сезону
(стрелка влево) перейти к предыдущему сезону

На страницах эпизодов

(стрелка вправо) перейти к следующему эпизоду
(стрелка влево) перейти к предыдущему эпизоду

На всех страницах изображений

a открыть окно добавления изображения

На всех страницах правки

t открыть переключатель переводов
ctrl+ s отправить форму

На страницах обсуждения

n создать новое обсуждение
w сменить статус отслеживания
p публичное/приватное
c закрыть/открыть
a открыть страницу действий
r ответить в обсуждении
l перейти к последнему ответу
ctrl+ enter отправить своё сообщение
(стрелка вправо) следующая страница
(стрелка влево) предыдущая страница

Параметры

Хотите поставить оценку или добавить в список?

Войти