class Traktr::User::Progress

Public Instance Methods

collected(username = @client.username, title = :all, sort = :title, extended = :min) click to toggle source
# File lib/traktr/user/progress.rb, line 4
def collected(username = @client.username, title = :all, sort = :title, extended = :min)
  parse_response self.class.get('/' + File.join('collected.json', @client.api_key, username, title.to_s, sort.to_s, extended.to_s))
end
watched(username = @client.username, title = :all, sort = :title, extended = :min) click to toggle source
# File lib/traktr/user/progress.rb, line 8
def watched(username = @client.username, title = :all, sort = :title, extended = :min)
  parse_response self.class.get('/' + File.join('watched.json', @client.api_key, username, title.to_s, sort.to_s, extended.to_s))
end