Using Trakt API in Shortcuts #429
Unanswered
devondundee
asked this question in
Q&A
Replies: 2 comments 1 reply
-
@devondundee can you share your shortcut? |
Beta Was this translation helpful? Give feedback.
1 reply
-
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:
It works nicely on both iPhone and Mac 😏
Hope this helps someone ✨ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m creating a shortcut for Apple platforms that uses the Trakt API, and I want to make sure I’m following best practices.
My shortcut makes a single call to the Trakt API to get a user’s watch history for the current day. It’s meant to be used once per day, certainly not more than a few times in a day.
When I distribute the shortcut, would it be appropriate to include my app’s API key? Or should I direct users to sign up for their own?
I don’t want users to hit a rate limit if several people are using the shortcut at the same time, though I don’t think that would be a problem if rate limits are based on IP address. The API key will be stored in plain text and user-accessible as Shortcuts actions can’t be concealed or locked.
What would be the best way of going about this?
Beta Was this translation helpful? Give feedback.
All reactions