Get Show Status From API

Hi,

I’m trying to get the status of a show from the API but i cannot make it work, i only get basic info such us

{
“title”: “Breaking Bad”,
“year”: 2008,
“ids”: {
“trakt”: 1388,
“slug”: “breaking-bad”,
“tvdb”: 81189,
“imdb”: “tt0903747”,
“tmdb”: 1396,
“tvrage”: null
}
}

Is there a STATUS field in the JSON. I can list all my shows from my library with title and year but i cannot find status. My goal is to filter them by ended and cancelled like the ones here. I only get the shows from my library. That much i figure it out.

I’m using powershell 5.1

Use ?extended=full to get the status field. Example in the docs.

https://trakt.docs.apiary.io/#reference/shows/summary/get-a-single-show

hhmm, i had that at some point and again nothing. Maybe i’m doing something wrong. Let me give some tries and come back with the code if i havne’t solve it.

edit: ok it works

title        year status

Breaking Bad 2008 ended

i’m sure i have tested it with the extendedinfo!

Thanks!