- 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
Check into a show on trakt. Think of this method as in between a seen and a scrobble. After checking in, the trakt will automatically display it as watching then switch over to watched status once the duration has elapsed.
URL
http://api.trakt.tv/show/checkin/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.
-
tvdb_id
TVDB ID for the show
-
title
Show title.
-
year
Show year.
-
season
Show season. Send 0 if watching a special.
-
episode
Show episode.
-
episode_tvdb_id (optional)
TVDB ID for the specific episode. If not found, it will fall back to a show, season, and episode lookup.
-
duration (optional)
Duration in minutes. If not sent, the episode runtime will be used.
-
venue_id (optional)
Foursquare venue ID.
-
venue_name (optional)
Custom venue name for display purposes.
-
share (optional)
Control how the check in shared to the user's connected social networks. If you send true for a connected social network. If you send false or that social network is not connected it won't send anything.
"share": { "facebook": true, "twitter": true, "tumblr": false } -
message (optional)
The message to use for sharing. If not sent, it will use the localized watching string set on the connections page. The message will be truncated to 100 characters to make sure it fits in the tweet with the url and hashtag.
-
app_version
Version number of the app, be as specific as you can including nightly build number, etc. Used to help debug.
-
app_date
Build date of the media center. Used to help debug.
-
Example JSON POST
{
"username": "username",
"password": "sha1hash",
"imdb_id": "tt1520211",
"tvdb_id": 153021,
"title": "The Walking Dead",
"year": 2010,
"season": 1,
"episode": 1,
"duration": 60,
"app_version": "1.0",
"app_date": "June 4 2011",
"venue_id": 1234,
"shared": {
"facebook": true,
"twitter": false
}
"message": "I'm revisiting the first season of The Walking Dead"
}Example Response
{
"status": "success",
"message": "checked in to The Walking Dead 1x01",
"timestamps": {
"start": 1330670727,
"end": 1330674327,
"active_for": 3600
},
"show": {
"title": "The Walking Dead",
"year": 2010,
"imdb_id": "tt1520211",
"tvdb_id": 153021
},
"facebook": false,
"twitter": false,
"tumblr": false,
"foursquare": false
}
If there is already a recent checkin, it will error out. You can then ask the user if they want to cancel their previous checkin or wait the indicated time.
{
"status":"failure",
"error":"There is already a checkin in progress. Either cancel this checkin or wait 3 minutes before you can check in again.",
"wait":180
}



