- 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
Returns all shows airing during the time period specified.
URL
http://api.trakt.tv/calendar/shows.format/apikey/date/days
Supported formats
json
Supported request methods
GET
Requires authentication
optional (details)
If you send valid auth, each show will contain the rating (love or hate, false if not rated), rating_advanced (1-10, 0 if not rated), and in_watchlist (boolean). Each episode will contain watched (boolean), plays (int), in_watchlist (boolean), in_collection (boolean), rating (love or hate, false if not rated), and rating_advanced (1-10, 0 if not rated).
Required Parameters
-
apikey
Sign in to view your API key.
-
date (optional)
Start date for the calendar in the format Ymd (i.e. 20110421). If blank, defaults to today.
-
days (optional)
Number of days to display starting from the date. If blank, defaults to 7 days.
Example Request
http://api.trakt.tv/calendar/shows.json/apikey
[
{
"date":"2011-04-16",
"episodes":[
{
"show":{
"title":"Britain's Got Talent",
"year":2007,
"url":"http://trakt.tv/show/britains-got-talent",
"first_aired":1181372400,
"country":"United Kingdom",
"overview":"The search for the next big variety act in the UK is on with ITV's Britain's Got Talent. Popular comedians and hosts Ant and Dec join the judges Simon Cowell, Piers Morgan and Amanda Holden on this highly anticipated show that will culminate in not only a big cash prize of \u00a3100,000 for the winning act, but also a starring slot in a performance attended by Her Majesty the Queen.",
"runtime":60,
"network":"ITV2",
"air_day":"",
"air_time":"12:00am",
"certification":"",
"imdb_id":"tt1034201",
"tvdb_id":"80727",
"tvrage_id":"16137",
"images":{
"poster":"http://trakt.us/images/posters/2760.jpg",
"fanart":"http://trakt.us/images/fanart/2760.jpg",
"banner":"http://trakt.us/images/banners/2760.jpg"
},
"genres":["Action","Comedy"]
},
"episode":{
"season":5,
"number":1,
"title":"Episode 1",
"overview":"",
"url":"http://trakt.tv/show/britains-got-talent/season/5/episode/1",
"first_aired":1302937200,
"images":{
"screen":"http://trakt.us/images/fanart/2760-940.jpg"
}
}
}
]
}
}



