- 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
Add movies to your library collection.
URL
http://api.trakt.tv/movie/library/apikey
Supported formats
json
Supported request methods
POST
Requires authentication
true (details)
Required Parameters
-
apikey
Sign in to view your API key.
-
JSON POST
Post a JSON string that contains your username, password (sha1), and movies array. Each movie object should contain the IMDB ID, title, and year.
{ "username": "username", "password": "sha1hash", "movies": [ { "imdb_id": "tt0114746", "title": "Twelve Monkeys", "year": 1995 } ] }
Example Request
A proof of concept example can be seen at https://github.com/rectifyer/trakt-import



