I'm getting different results while requesting https://api.themoviedb.org/3/movie/now_playing?api_key=my_key&language=en-US&page=1 within seconds. Sometime it outputs this list of movies:
Jumanji: Welcome to the Jungle Star Wars: The Last Jedi The Greatest Showman Coco Beyond Skyline Insidious: The Last Key Pitch Perfect 3 The Post The Shape of Water November Criminals The Commuter Molly's Game Hostiles Downsizing Ferdinand Proud Mary 12 Strong Day of the Dead: Bloodline Paddington 2 Den of Thieves
with "page":1,"total_results":705,"dates":{"maximum":"2018-01-24","minimum":"2017-12-07"},"total_pages":36}
sometimes:
Jumanji: Welcome to the Jungle Star Wars: The Last Jedi Olaf's Frozen Adventure The Greatest Showman Coco Beyond Skyline Insidious: The Last Key Pitch Perfect 3 The Post The Shape of Water November Criminals The Commuter Molly's Game Hostiles Downsizing Ferdinand Proud Mary Day of the Dead: Bloodline Paddington 2 The Snowman
with "page":1,"total_results":802,"dates":{"maximum":"2018-01-17","minimum":"2017-11-27"},"total_pages":41}
How to achieve stable result?
Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.
Vill du betygsätta denna artikel eller lägga till den i en lista?
Inte medlem?
Svar från Travis Bell
den 19 januari 2018 vid 12:14 PM
Yup, this is a known issue. It's to do with the date being queried, you can see it flips back and forth between two ranges. I am planning to fix this soon.
Svar från mirth
den 28 januari 2018 vid 4:20 PM
I'm building the website that relies on this api functionality. Anything i can do to help with fixing the problem?
Svar från mirth
den 19 februari 2018 vid 1:23 PM
Any progress on this bug?
Svar från Travis Bell
den 21 februari 2018 vid 12:59 PM
None yet but it's on my list of things to do.