Skip to content

akinsey/node-kickass-torrent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-kickass

Node kickass.to json API wrapper

npm install kickass-torrent --save

Examples

default options:

var kickass=require('kickass-torrent')
kickass('test search',function(err, response){
    console.log(err, response)
})

all options:

var kickass=require('kickass-torrent')
kickass({
    q: 'test',//actual search term
    field:'seeders',//seeders, leechers, time_add, files_count, empty for best match
    order:'desc',//asc or desc
    page: 2,//page count, obviously
    url: 'http://kickass.to',//changes site default url (http://kickass.to)
},function(e, data){
    //will get the contents from
    //http://kickass.to/json.php?q=test&field=seeders&order=desc&page=2
    if(e)
        return console.log(e)
    console.log(data)//actual json response
})

About

Node kickass.to json API wrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%