Nowtv

Build Status Coverage Status Code Climate

Show current TV programs

Installation

Add this line to your application's Gemfile:

gem 'nowtv'

And then execute:

$ bundle

Or install it yourself as:

$ gem install nowtv

Usage

With no argument, list of programs currently broadcasted is shown. Default region is Tokyo Metropolitan.

$ nowtv
NHK

You can specify the default region code/name in ~/.nowtv. If you set the default region code/name in the first line, nowtv command show list of programs in the specified region.

With the region code, list of programs broadcasted in the specified region is shown.

$ nowtv osaka
NHK

You can also specify the prefecture name.

$ nowtv 

There is sample .nowtv in this repository. In this file, you can check the region code.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request