Open jeherve opened 8 years ago
I'd never actually heard of this, but it looks pretty interesting.
I will probably not personally write it, since I'm not using Trakt, but if someone wanted to take a look at doing it, you'd need to make a Trakt Service definition (based on one of the other OAuth2 ones shipped in Keyring itself), and then an importer, based on one of the others.
I think using /users/me/history
is what you'd be after, based on http://docs.trakt.apiary.io/#reference/users/history/get-watched-history
Check out https://github.com/jeherve/traktivity for inspiration.
Would you consider adding Trakt.tv to the list of importers?
https://trakt.tv/ http://docs.trakt.apiary.io/
They apparently use oAuth2, although some of the data doesn't require any authentication.
It would be nice if all movies and TV shows watched were imported as new posts, maybe using
history
: http://docs.trakt.apiary.io/#reference/users/friends/get-watched-history?console=1