when I call this url it gives me a list of upcoming movies for a certain range. But I need to notify my users when new movie is added to this list.
So, How do i know whether a new film is added to this link?
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Doriți să evaluați sau să adăugați acest element într-o listă?
Nu eşti membru?
Răspuns de Travis Bell
pe data de 16 mai 2018 la ora 6:04PM
Hi @dilusha100,
The upcoming list just looks at the release date information. You can inspect the date range that is used by looking at the
dates
field returned in the response.One thing worth mentioning is a suggestion to use the
region
filter, as it will help limit results to a particular country. This is outlined here.Răspuns de dilusha100
pe data de 16 mai 2018 la ora 11:02PM
thanks for reply.
So, is there any way to customize the time period? or else what is the date range we getting?
Răspuns de Travis Bell
pe data de 28 mai 2018 la ora 10:45AM
There is no way to customize the date range on the upcoming method directly but the upcoming method is just a discover call behind the scenes so you are free to make your own customized version however you see fit.