- Overview
- Authentication
- Errors
- Images
- Advanced Ratings
- Scrobbling vs. Checkins
- Syncing with trakt
-
Account
-
Activity
-
Calendar
-
Comment
-
Genres
-
Lists
-
Movie
-
Movies
-
Network
-
Rate
-
Recommendations
-
Search
-
Server
-
Show
- show/cancelcheckin
- show/cancelwatching
- show/checkin
- show/comments
- show/episode/comments
- show/episode/library
- show/episode/seen
- show/episode/summary
- show/episode/unlibrary
- show/episode/unseen
- show/episode/unwatchlist
- show/episode/watchingnow
- show/episode/watchlist
- show/library
- show/related
- show/scrobble
- show/season
- show/season/library
- show/season/seen
- show/seasons
- show/seen
- show/summary
- show/unlibrary
- show/unwatchlist
- show/watching
- show/watchingnow
- show/watchlist
-
Shows
-
User
- user/calendar/shows
- user/lastactivity
- user/library/movies/all
- user/library/movies/collection
- user/library/movies/watched
- user/library/shows/all
- user/library/shows/collection
- user/library/shows/watched
- user/list
- user/lists
- user/network/followers
- user/network/following
- user/network/friends
- user/profile
- user/progress/collected
- user/progress/watched
- user/ratings/episodes
- user/ratings/movies
- user/ratings/shows
- user/watching
- user/watchlist/episodes
- user/watchlist/movies
- user/watchlist/shows
-
Deprecated
- friends/add
- friends/all
- friends/approve
- friends/delete
- friends/deny
- friends/requests
- movie/shouts
- shout/episode
- shout/movie
- shout/show
- show/episode/shouts
- show/shouts
- user/friends
- user/library/movies/hated
- user/library/movies/loved
- user/library/shows/hated
- user/library/shows/loved
- user/watched
- user/watched/episodes
- user/watched/movies
Summary
Notify trakt that a user has started watching a movie.
URL
http://api.trakt.tv/movie/watching/apikey
Supported formats
json
Supported request methods
POST
Requires authentication
true (details)
Required Parameters
-
apikey
Requires a developer API key. Details here.
-
JSON POST
-
username
trakt username.
-
password
SHA1 hash of trakt password.
-
imdb_id
IMDB ID for the movie
-
tmdb_id (optional)
TMDB (themoviedb.org) ID for the movie.
-
title
Movie title.
-
year
Movie year.
-
duration
Duration in minutes.
-
progress
% progress, integer 0-100. It is recommended to call the watching API every 15 minutes, then call the scrobble API near the end of the movie to lock it in.
-
plugin_version
Internal version of your plugin. Make sure to increment this for each plugin update. Used to help debug your plugin.
-
media_center_version
Version number of the media center, be as specific as you can including nightly build number, etc. Used to help debug your plugin.
-
media_center_date
Build date of the media center. Used to help debug your plugin.
-
Example JSON POST
{
"username": "username",
"password": "sha1hash",
"imdb_id": "tt0372784",
"title": "Batman Begins",
"year": 2005,
"duration": 141,
"progress": 25,
"plugin_version": "1.0",
"media_center_version": "10.0",
"media_center_date": "Dec 17 2010"
}Example Response
{
"status": "success",
"message": "watching Batman Begins (2005)"
}



