Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including tvst with all npm packages installed. Try it out:

var tvst = require("tvst")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

tvst v0.3.1

TV Shows Tracker (TVST) in command-line

tvst Build Status

TV Shows Tracker (TVST) on command line

TVST command line

Table of contents

:punch: More awesome features are in development :punch:

Install

Install with npm:

npm install -g tvst

Upgrade

npm update -g tvst

Usage


  Usage: tvst [options] [command]


  Commands:

    schedule <date>  Show list of TV shows of a specific date
    ne <show-name>   Date & Air time of next episode of a show
    pe <show-name>   Date & Air time of previous episode of a show
    fav-add          Add TV shows in your favorite list
    fav-list         Show list of your favorite shows
    fav-remove       Remove show(s) from your favorite shows
    help [cmd]       display help for [cmd]

  TV Shows Tracker (TVST) On Command Line - For Developers

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

Schedule - schedule

tvst schedule <date>

Usage of schedule

$ tvst schedule --help

  Usage: tvst-schedule [options]

  Options:

    -h, --help              output usage information
    -c --country <country>  ISO Country Code - eg. US or GB etc.
    -f --filter <filter>    Filter By Show Name

Examples:

  • See all shows of today:
tvst schedule today
  • See all shows of tomorrow:
tvst schedule tomorrow
  • See all shows of yesterday:
tvst schedule yesterday
  • See all shows of a particular date:
tvst schedule '2016-06-14'
  • See if tomorrow has a episode of a particular tv show:
tvst schedule tomorrow -f 'game of thrones'
  • See today's schedule of a particular country:
tvst schedule today -c GB

Next Episode - ne

tvst ne <show-name>

Examples

  • See next episode's details of a particular show:
tvst ne 'game of thrones'

:notebook_with_decorative_cover: If you're not sure about spelling of a specific show name, just guess, it will return list of possible shows

:notebook_with_decorative_cover: If any show has no update of next episode then it returns details of previous episode

Previous episode - pe

tvst pe <show-name>

Examples

  • See previous episode's details of a particular show:
tvst pe 'game of thrones'

:notebook_with_decorative_cover: If you're not sure about spelling of a specific show name, just guess, it will return list of possible shows

Favorite shows - fav-add fav-remove fav-list

tvst fav-add
tvst fav-remove
tvst fav-list

Examples

  • Add show(s) to your favorite:
tvst fav-add

:notebook_with_decorative_cover: It is an interactive command - just follow the instruction.

  • Remove show(s) from your favorite:
tvst fav-remove

:notebook_with_decorative_cover: It is an interactive command - just follow the instruction.

  • See schedules of all of your favorite shows:
tvst fav-list

:notebook_with_decorative_cover: If you're not sure about spelling of a specific show name, just guess, it will return list of possible shows

Help

tvst help

Version

tvst --version

Credits

TVMaze API

License

The MIT @ Shahriar Mahmood

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free