Taageerada Xoggunka Filimka

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 reply (on page 1 of 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

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Ma doonaysaa inaad qiimayso ama ku darto shaygan liiska?

Galid