class Bradach::Result

Overview

An encapsulation of the results received from the API, with an additional #uri method which builds a magnet link (using the #info_hash and the list of trackers).

Included Modules

Defined in:

bradach.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def <=>(other) #

Comparable


[View source]
def added : String | Nil #

[View source]
def category : String | Nil #

[View source]
def id : String | Nil #

[View source]
def imdb : String | Nil #

[View source]
def info_hash : String | Nil #

[View source]
def leechers : String | Nil #

[View source]
def name : String | Nil #

[View source]
def num_files : String | Nil #

[View source]
def params : Array(String) #

[View source]
def seeders : String #

[View source]
def size : String | Nil #

[View source]
def status : String | Nil #

[View source]
def uri : String #

[View source]
def username : String | Nil #

[View source]