Created
June 16, 2015 17:49
-
-
Save simonszu/6b4409f7ce5b71c644fd to your computer and use it in GitHub Desktop.
Removes a whole show from your trakt account as watched, since the old interface didn't have the option for this
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env ruby | |
| require 'trakt' | |
| trakt = Trakt.new‚ | |
| trakt.apikey = 'apikey' | |
| trakt.username = 'simonszu' | |
| trakt.password = 'password' | |
| #puts client.server.time | |
| #p client.show.episode_unseen("imdb_id" => "tt0364845", "episodes" => {"season" => 1, "episode" => 1}) | |
| #p trakt.show.episode_unseen("tvdb_id" => "76059", "episodes" => {"season" => 1, "episode" => 1}) | |
| p trakt.show.unseen("73255") #house | |
| p trakt.show.unseen("72167") #coldcase | |
| p trakt.show.unseen("75682") #bones | |
| p trakt.show.unseen("83462") #castle | |
| p trakt.show.unseen("74058") #bostonlegal | |
| p trakt.show.unseen("257655") #arrow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment