btn-api

btn-api

btn-api

npm install btn-api

##How to use

##require it

var Btn = require('btn-api')

##init it The first argument should be your API key

var btn = new Btn('your-magic-key')

##Usage

Easy search

btn.search().limit(1).container('mp4').resolution('sd').run(console.log)

Options for using search

['id', 'series', 'name', 'search', 'codec', 'container', 'source', 'resolution', 'origin', 'limit']

Snatch list first argument is how many to return

btn.getUserSnatchlist(50, console.log)

Userinfo

btn.userInfo(console.log)

Inbox

btn.getInbox(console.log)

http://btnapps.net/apigen/class-btnapi.html