1.2.0 • Published 7 years ago

moov-tv v1.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Tv

Software License Code Style Downloads Build Status

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}]}

CHANGE LOG

CHANGELOG

CONTRIBUTING

CONTRIBUTING