beaulebens / keyring-social-importers

A collection of importers which pull your content back from social networks, and into your own WordPress install.
32 stars 17 forks source link

Trakt.tv Movie / TV Show tracking #2

Open jeherve opened 8 years ago

jeherve commented 8 years ago

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

beaulebens commented 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

xavierroy commented 5 years ago

Check out https://github.com/jeherve/traktivity for inspiration.