btn-api

btn-api

npm install btn-api
28 downloads in the last month

btn-api

Install

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)

Docs

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

npm loves you