I'm currently trying to get the lists created by a user. In order to do this, I use the url https://api.themoviedb.org/3/account/{account_id}/lists?api_key=XXX&session_id=XXX which returns
{ "page": 1, "results": [ { "description": "", "favorite_count": 0, "id": 79623, "item_count": 0, "iso_639_1": "en", "list_type": "movie", "name": "Twenty First List", "poster_path": null }, ... { ... }, { ... } ], "total_pages": 2, "total_results": 21
Since there are two pages, I'm making another request : https://api.themoviedb.org/3/account/{account_id}/lists?api_key=XXX&session_id=XXX&page=2 I exepect this request to return the last list which couldn't be displayed in the first request since only 20 lists are displayed. The problem is that this second url returns exactly the same information as the first url. I verified on diffchecker.com: the only difference between the two requests is "page": 1, and "page": 2,
Same result for: https://api.themoviedb.org/3/account/{account_id}/lists?api_key=XXX&session_id=XXX&page=3 (even if there is only 21 lists --> 2 pages) Same result for https://api.themoviedb.org/3/account/{account_id}/lists?api_key=XXX&session_id=XXX&page=1
Any idea what I'm doing wrong ? Or maybe the problem comes from the API ?
找不到电影或剧集?登录并创建它吧。