
Implemented API methods
Lukas Burk
2025-03-17
Source:vignettes/Implemented-API-methods.Rmd
Implemented-API-methods.Rmd
This is a reference list of API methods available, their
endpoint URLs (with user-specified parameters indiciated by a
:
prefix) and a link to their respective implementation in
this package, if applicable.
Authenticated methods (there’s only a few) are indicated as such.
Note that not all available methods are listed here, especially those geared towards interactive apps – I highly doubt that people will want to post (or update) comments through this package.
Search
Method | Endpoint | Implementation | Auth |
---|---|---|---|
Text Query | search/:type?query= |
search_query()
|
Optional |
ID Lookup | search/:id_type/:id?type= |
search_id()
|
Optional |
Movies
Shows
Seasons
Method | Endpoint | Implementation | Auth |
---|---|---|---|
Summary | shows/:id/seasons/:season |
seasons_summary()
|
Optional |
Season | shows/:id/seasons/:season/info |
seasons_season()
|
Optional |
Episodes | shows/:id/seasons/:season?translations= |
seasons_episodes()
|
Optional |
Comments | shows/:id/seasons/:season/comments/:sort |
seasons_comments()
|
Optional |
Lists | shows/:id/seasons/:season/lists/:type/:sort |
seasons_lists()
|
Optional |
People | shows/:id/seasons/:season/people |
seasons_people()
|
Optional |
Ratings | shows/:id/seasons/:season/ratings |
seasons_ratings()
|
Optional |
Stats | shows/:id/seasons/:season/stats |
seasons_stats()
|
Optional |
Watching | shows/:id/seasons/:season/watching |
seasons_watching()
|
Optional |
Episodes
Method | Endpoint | Implementation | Auth |
---|---|---|---|
Summary | shows/:id/seasons/:season/episodes/:episode |
episodes_summary()
|
Optional |
Translations | shows/:id/seasons/:season/episodes/:episode/translations/:language |
episodes_translations()
|
Optional |
Comments | shows/:id/seasons/:season/episodes/:episode/comments/:sort |
episodes_comments()
|
Optional |
Lists | shows/:id/seasons/:season/episodes/:episode/lists/:type/:sort |
episodes_lists()
|
Optional |
People | shows/:id/seasons/:season/episodes/:episode/people |
episodes_people()
|
Optional |
Ratings | shows/:id/seasons/:season/episodes/:episode/ratings |
episodes_ratings()
|
Optional |
Stats | shows/:id/seasons/:season/episodes/:episode/stats |
episodes_stats()
|
Optional |
Watching | shows/:id/seasons/:season/episodes/:episode/watching |
episodes_watching()
|
Optional |
People
Method | Endpoint | Implementation | Auth |
---|---|---|---|
Summary | people/:id |
people_summary()
|
Optional |
Movies | people/:id/movies |
people_movies()
|
Optional |
Shows | people/:id/shows |
people_shows()
|
Optional |
Lists | people/:id/lists/:type/:sort |
people_lists()
|
Optional |
Users
Comments
Method | Endpoint | Implementation | Auth |
---|---|---|---|
Comment | comments/:id |
comments_comment()
|
Optional |
Replies | comments/:id/replies |
comments_replies()
|
Optional |
Item | comments/:id/item |
comments_item()
|
Optional |
Likes | comments/:id/likes |
comments_likes()
|
Optional |
Trending | comments/trending/:comment_type/:type?include_replies= |
comments_trending()
|
Optional |
Recent | comments/recent/:comment_type/:type?include_replies= |
comments_recent()
|
Optional |
Updates | comments/updates/:comment_type/:type?include_replies= |
comments_updates()
|
Optional |
Lists
Method | Endpoint | Implementation | Auth |
---|---|---|---|
Popular | lists/popular |
lists_popular()
|
Optional |
Trending | lists/trending |
lists_trending()
|
Optional |
Misc
These endpoints are used to check filter arguments. The output is cached in tidied up format as package datasets.
Section | Method | Endpoint | Implementation |
---|---|---|---|
certifications | List | certifications/:type |
?trakt_certifications
|
countries | List | countries/:type |
?trakt_countries
|
genres | List | genres/:type |
?trakt_genres
|
languages | List | languages/:type |
?trakt_languages
|
networks | List | networks |
?trakt_networks
|