-
On the Trakt.tv website I came across this address: It gives a list of the next episodes to watch for the shows the user watches. On Postman I tried the command https://api.trakt.tv/users/{user}/progress/watched/activity?hide_completed=true I don't see this api documented on https://trakt.docs.apiary.io/ am I just missing it? It would be very useful if it could be used. Here is part of the JSON I get back:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
For performance reasons, this API method shouldn't be publicly available. It looks like a recent update exposed it, when it shouldn't have been. The API has been corrected and the API docs are correct since this method isn't supported. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply! Can you help me understand the best alternative for getting the next episode to watch for all of a users shows? Unless I am missing something, the alternative is to have a list of all shows with unwatched episodes (cached or from one or more api calls). Then, for each show, preform /shows/{show}/progress/watched. The /shows/{show}/progress/watched returns not only the next and last episode info but additionally data for each episode in the show (watched or not). The older the show, the more data gets transferred. It seems that this would result in many more api calls (1 per show plus perhaps calls to get list of show) and the data returned would be much larger than the succinct /users/{user}/progress/watched/activity call. Is there a better way to use the api's to obtain the same information? I appreciate your help! |
Beta Was this translation helpful? Give feedback.
For performance reasons, this API method shouldn't be publicly available. It looks like a recent update exposed it, when it shouldn't have been. The API has been corrected and the API docs are correct since this method isn't supported.