Hello,
I plan to query now playing api once a day for all pages. Now I am testing GET request to retrieve all pages for list of now playing movies in US like below. GET request to https://api.themoviedb.org/3/movie/now_playing?api_key=xxxxxxxxxxxx&language=en-US&page=1®ion=US ... page=8 to get all now playing movies.
I found that the results of the same http request is different depending on the server(machine) I looked at below link, where you said now playing API uses discover. https://www.themoviedb.org/talk/583f0234925141152a00d6e3 It seems like your website shows the same now playing movies. Is there a way I can get exact same now playing movie result as your website? maybe using discover API?
Thanks for your support Best, Scott
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on September 29, 2017 at 10:05 AM
Hi Scott,
It's a date range problem. If you refresh the now playing method a bunch of times and look at the
dates
field being returned, you'll notice that they flip flop.It's a known bug and on my list of things to fix.
Reply by ScottLee
on September 30, 2017 at 1:20 AM
Hi Travis,
Got it, thanks for help.
Reply by ebarer
on June 6, 2018 at 5:19 AM
Hey Travis,
First, I just wanted to thank you very much for this service - it's incredibly useful and the volume of data is impressive.
When attempting to use the now_playing API, I'm seeing the same issue described above (with the dates flipping). This is quite problematic when combined with the paginated return, as the concatenated results have duplicate entries and omissions. If you can't resolve the date issue between multiple initial requests, perhaps consider using sessions such that grabbing all the pages of the initial request provide a deterministic set of results.
Thanks!
Reply by Travis Bell
on July 18, 2018 at 1:12 PM
Hi guys,
I've been looking at this bug and made a few changes, I believe it's fixed. Can you tell me if you still see it happening?