Interface Torrent

interface Torrent {
    added_on: number;
    amount_left: number;
    category: string;
    completed: number;
    completion_on: number;
    dl_limit: number;
    dlspeed: number;
    downloaded: number;
    downloaded_session: number;
    eta: number;
    f_l_piece_prio: boolean;
    hash: string;
    last_activity: number;
    magnet_uri: string;
    max_ratio: number;
    max_seeding_time: number;
    name: string;
    num_complete: number;
    num_incomplete: number;
    num_leechs: number;
    num_seeds: number;
    priority: number;
    progress: number;
    ratio: number;
    ratio_limit: number;
    save_path: string;
    seeding_time_limit: number;
    seen_complete: number;
    seq_dl: boolean;
    size: number;
    state: TorrentState;
    super_seeding: boolean;
    tags: string;
    time_active: number;
    total_size: number;
    tracker: string;
    trackers_count: number;
    up_limit: number;
    uploaded: number;
    uploaded_session: number;
    upspeed: number;
}

Properties

added_on: number

datetime in seconds

amount_left: number

Amount of data left to download

category: string

Category name

completed: number

Amount of data completed

completion_on: number

Torrent copletion datetime in seconds

dl_limit: number

Torrent download limit

dlspeed: number

Torrent download speed (bytes/s)

downloaded: number

Amount of data downloaded

downloaded_session: number

Amount of data downloaded since program open

eta: number

Torrent ETA

f_l_piece_prio: boolean

Torrent first last piece priority state

hash: string
last_activity: number

Last time when a chunk was downloaded/uploaded

magnet_uri: string
max_ratio: number

Upload max share ratio

max_seeding_time: number

Upload max seeding time

name: string

Torrent name

num_complete: number

Torrent seeds in the swarm

num_incomplete: number

Torrent leechers in the swarm

num_leechs: number

Torrent leechers connected to

num_seeds: number

Torrent seeds connected to

priority: number

Torrent priority (-1 if queuing is disabled)

progress: number

Torrent progress

ratio: number

Torrent share ratio

ratio_limit: number

Upload share ratio limit

save_path: string

Torrent save path

seeding_time_limit: number

Upload seeding time limit

seen_complete: number

Indicates the time when the torrent was last seen complete/whole

seq_dl: boolean

Torrent sequential download state

size: number

Torrent size

Torrent state

super_seeding: boolean

True if super seeding is enabled

tags: string

Comma-concatenated tag list of the torrent e.g. - "abc, 123"

time_active: number
total_size: number

Size including unwanted data

tracker: string

Torrent tracker

trackers_count: number
up_limit: number

Torrent upload limit

uploaded: number

Amount of data uploaded

uploaded_session: number

Amount of data uploaded since program open

upspeed: number

Torrent upload speed (bytes/s)