moov-tv
v1.2.0
Published
Tv show module for Moov
Downloads
11
Readme
Tv
Tv Shows module for Moov
Usage
findAll: page [1]
const { findAll } = require('moov-tv')
findAll()
.then(console.log) // -> [{imdb_id: ...}, {imdb_id: ...}]
findOne: imdb id
const { findOne } = require('moov-tv')
findOne('tt2661044')
.then(console.log) // -> {imdb_id: ...}
Search: query
const { search } = require('moov-tv')
search('Game of Thrones')
.then(console.log) // -> {imdb_id: ...}
Seasons: episodes
const {
search,
findOne,
seasons
} = require('moov-tv')
findOne('tt2661044')
.then(seasons)
.then(console.log) // -> {1: [{episode: 1}, {episode: 2}], 2: [{episode: 1}]}