You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i trying to find powershell scripts for trakt API but for my surprise is not there on the list. I'm using python at the moment but with the new 24 expiration of the Token i have to change and use powershell. I'm succesfully using the tmdb API with powershell but there tin the examples it had a powershell section.
Any way i'm using this but it is not working. Can you please assist ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, i trying to find powershell scripts for trakt API but for my surprise is not there on the list. I'm using python at the moment but with the new 24 expiration of the Token i have to change and use powershell. I'm succesfully using the tmdb API with powershell but there tin the examples it had a powershell section.
Any way i'm using this but it is not working. Can you please assist ?
`$headers=@{}
headers.Add("Authorization", "Bearer ")
headers.Add("trakt-api-version", "2")
headers.Add("trakt-api-key", "api key")
$response = Invoke-WebRequest -Uri "https://api.trakt.tv/shows/chicago-fire/progress/watched?hidden=false&specials=false&count_specials=false" -Method GET -Headers $headers | ConvertFrom-Json
Write-Host $response`
I do not get errors, it is just empty.
thank you
Beta Was this translation helpful? Give feedback.
All reactions