1.0.2 • Published 5 years ago
legendas-tv v1.0.2
legendas-tv
Node.js client for popular brazilian subtitle site legendas.tv.
Install
$ npm install legendas-tvAPI
var legendastv = require('legendas-tv')search(termo, opts, cb)
termoa string used for find series. This is required. Ex: "game of thrones", "the mentalist S06E01", etc.optsan object with the following arguments:idiomaa integer indicating the subtitle language. Could be one of the following:1Portuguese-BR2English3Spanish4French5German6Japanese7Danish8Norwegian9Swedish10Portuguese-PT11Arabic12Czech13Chinese14Korean15Bulgarian16Italian17Polish
tipo_legendaa string indicating the subtitle type. Could be one of the following:dDestaquepPack
proxya string representing a HTTP proxy to be used.
Example
var legendastv = require('legendas-tv');
legendastv.search('game of thrones S04E01', function(err, results) {
if (err) {
console.log(err);
} else {
console.log(results);
}
});License
MIT