Skip to content
Discussion options

You must be logged in to vote

Hey,

I was about to open a new discussion and found this one.

Following the latest announcement about new token validity, I've been thinking about how to use the Trakt API and Device Authentication and thought I'd share what I tested.

I've created 4 Shortcuts that work, more or less, together to:

  1. Trakt API Setup: setup the required API key, API secret and redirect URI,
  2. Trakt Get New Token: get a first token via the Device Authentication,
  3. Trakt Get Fresh Token: always use a valid token, refreshing the one on file if needed,
  4. Trakt Get History: get the user history using me to avoid asking for the username.

It works nicely on both iPhone and Mac 😏

Trakt API Shortcuts Test.zip

⚠️ Some warni…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@devondundee
Comment options

Comment options

You must be logged in to vote
1 reply
@15123073
Comment options

Answer selected by Marius-TV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants