trakt / api-help

Trakt API docs at https://trakt.docs.apiary.io
180 stars 7 forks source link

Request: Mark remaining episodes of a show as watched. #243

Open MaxHasADHD opened 3 years ago

MaxHasADHD commented 3 years ago

I'm trying to make less requests due to the new limits, and wondering if there is a way to mark remaining episodes of a show as watched. e.g. If a user marked 5 episodes of season 1, I'd like to mark the rest of season 1, and all future seasons as watched. I'm currently uploading every episode which isn't great for larger shows (100+ episodes). I know I can pass an entire show to the history API, but wasn't sure if that will mark existing episodes as watched again or if it will just complete the current watch.

kevincador commented 3 years ago

You can specify an array of episodes in 1 request: https://trakt.docs.apiary.io/#reference/sync/add-to-history/add-items-to-watched-history

If you pass a season or a show, it will mark all episodes in the season or show that aired. But it will mark them as watched again even if already watched.

MaxHasADHD commented 3 years ago

That's what I'm currently doing. With larger amount of data due to batching I worry of requests timing out or something. So I'd love an endpoint or parameter for shows to complete.