xtorrent)
OMGtorrent Unoffical api module (based onInstall
npm install omgtorrent
Usage
const omgtorrent = ;
Search
Simple search
omgtorrent;
Advanced search
omgtorrent ;
Parameters
url {string} optional. If you need to use custom domain.
page {integer} optional. If you need more results you can ask for page 2, etc. Default is 1.
type {string} optional. To search only in the specified type category. Must be one of those values: 'films', 'series', 'jeux', 'logiciels', 'albums', 'ebooks'.
order {string} optional. To sort the results. Must be one of those values: 'rls', 'id_cat', 'id', 'time_maj', 'taille', 'seeders', 'leechers', 'downloaded', 'top', 'vues'. Default is 'seeders'.
orderBy {string} optional. To sort the results. Must be one of those values: 'desc', 'asc'. Default is 'desc'.
İnfo
omgtorrent ;