Created
April 23, 2014 08:25
-
-
Save simonszu/11206972 to your computer and use it in GitHub Desktop.
Trakt cleaner - Marks a whole show on trakt as unseen
This file contains 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