Issues finding out what episodes I watched via API

:label: Tag your post with new and/or classic, along with the platform (eg: iOS, android, web) to help us assist you faster.

Trying to find out episodes I watched with api and I see two issues , anyone seen this ? know how to bypass it ?

season progress (number of episodes) always 0 , even when I mark some of the episodes or even all as watched

Also on another show where I watched first 2 episodes this is what the API return
also in the API Im not getting the two episodes

/sync/history/shows/280856 0 items
/sync/watched/shows?extended=progress
/sync/watched/episodes 0 for this show
/shows/280856/progress/watched completed: 0, next = S1E1

Hi @nirmelamoud.

I’m trying to understand the issues here. Running /watched/shows returned the correct results for your account (for season 1, you have 12 plays, for season 2 you have none).

curl -s '``https://api.trakt.tv/users/nirmelamoud/watched/shows?extended=progress&limit=250``' -H 'trakt-api-version: 2' -H "trakt-api-key: $TRAKT_CLIENT_ID" | jq '.[] | select(.show.ids.trakt==10494) | {plays, last_watched_at, seasons: [.seasons[] | {season: .number, watched: (.episodes|length)}]}'

On show 280856 you seem to have no activity. Are you checking in correctly with the correct API request? i.e. POST to /sync/history? Do you get a successful status code?

I do have two ep watched, see picture for 280856

curl -s ‘https://api.trakt.tv/users/nirmelamoud/watched/shows?extended=progress&limit=250
-H ‘trakt-api-version: 2’
-H “trakt-api-key: $TRAKT_CLIENT_ID”
| jq ‘. | select(.show.ids.trakt==10494 or .show.ids.trakt==280856) | {id: .show.ids.trakt, title: .show.title, plays, last_watched_at, seasons: [.seasons | {season: .number, watched: ([.episodes | select(.plays > 0)] | length)}]}’

and I get null back fr 280856

sorry for the confusion for 10494 picture I showed not due top api issue, but due to ui show 0 eps progress , see on the middle right side of true blood picture

What you see in the UI is not watched but rather a mark as watched button. Hover over it, it’s gonna show a tooltip. A watched episode has a grey tick in the lower-middle part of poster.

i.e. my S2E6 is watched, S2E7 is not watched. Hope this clears your concern.