Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Node.JS client for the BTN API
JavaScript
branch: master

search options

latest commit 0f7e8d18f2
fedora authored
Failed to load latest commit information.
lib Added 2 missing functions
test First push
.project First push
LICENSE added
README.md search options
package.json Updated main path

README.md

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

Something went wrong with that request. Please try again.