dashing-betaseries is a Dashing Widget to display your tv-shows airing next thanks to the BetaSeries API.
- Copy the
betaseries
folder in yourwidgets
folder. - Copy the
betaseries.rb
job file in yourjobs
folder. - Fill in your username and api key
- Include this snippet in your dashboard layout file :
<li data-row="1" data-col="2" data-sizex="2" data-sizey="1">
<div data-id="betaseries" data-view="Betaseries" data-title="BetaSeries"></div>
</li>
Add it to dashing's gemfile:
gem 'json'
and run bundle install
.
You need to provide your own apikey and username. You can ask an apikey on this page for your own use.
You can set the number of episodes displayed by changing the limit variable.
Episodes are fetched every 6h by default but you can change it in the job file.
SCHEDULER.every '6h', :first_in => 0 do |job|