I have one bug, I send the request: https://api.themoviedb.org/3/discover/movie?api_key=myapikey&language=en-US&sort_by=release_date.desc&include_video=true&page=1 but don't get video, why?
Can't find a movie or TV show? Login to create it.
გსურთ შეაფასოთ ან დაამატოთ ეს ელემენტი სიაში?
არა წევრი?
Reply by ticao2 🇧🇷 pt-BR
on ივნისი 12, 2018 at 8:12 PM
I've tested your request. It worked.
Maybe your Key is in trouble.
Verify that it is valid. Go to your profile and see in API.
Edit: &include_video=false
Reply by murove1
on ივნისი 13, 2018 at 2:27 AM
key valid, and request work, but I don`t get video video: false although I set include_video=true
Reply by ticao2 🇧🇷 pt-BR
on ივნისი 13, 2018 at 1:03 PM
What do you mean by Video?
The trailer? Or watch the movie?
If it is to watch the movie, impossible.
TMDb has no link to watch movie.
Reply by murove1
on ივნისი 14, 2018 at 3:24 AM
trailer
Reply by ticao2 🇧🇷 pt-BR
on ივნისი 14, 2018 at 3:46 AM
The function of this parameter Video is not to request trailer.
The TMDb database can be divided into two parts: Movies and TV Show.
In the Movies category, there is the division between what is a movie, with a movie premiere, ticket sales, etc ...,
and what is classified as video, things released only on DVD or Bluray, or a rock show , or jazz.
So, the video: true parameter only specifies that you want to be included in your search results, such shows, concerts, etc ...
If you look at the two tests I did, you'll see a small difference in the quantities.
To receive the link from the trailers, I think only by searching with the ID of each movie.
Reply by murove1
on ივნისი 14, 2018 at 6:32 AM
sorry, my fail. Thx.