Project

epguides

0.0
No commit activity in last 3 years
No release in over 3 years
Query the epguides.com website for TV show information.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 4.6.2
~> 0.9.6

Runtime

~> 1.7.7
~> 1.5.6
~> 1.6.7
 Project Readme

Epguides

Epguides makes it easy to look up TV episode information from http://epguides.com if you know either the season and episode number or the air date of an episode.

Installation

gem install epguides

Usage

require 'epguides'
#=> true 

show = Epguides::Show.search("The Colbert Report")
#=> #<Epguides::Show:0x007fc001c71618 @slug=nil, @url="http://epguides.com/ColbertReport/"> 
show.name
#=> "The Colbert Report" 
episode = show.season(8).episode(33)
#=> #<Epguides::Episode:0x007fc001b794b8 @season="8", @number="33", @prod_number="", @air_date=#<Date: 2012-03-08 ((2455995j,0s,0n),+0s,2299161j)>, @title="Don Fleming, Elvis Costello, Emmylou Harris">

show2 = Epguides::Show.new(:slug => 'Archer')
#=> #<Epguides::Show:0x007fcdf388ed20 @slug="Archer", @url=nil>
show2.episodes.first
#=> #<Epguides::Episode:0x007fcdf34a4840 @season="1", @number="01", @prod_number="AR01001", @air_date=#<Date: 2009-09-17 ((2455092j,0s,0n),+0s,2299161j)>, @title="Mole Hunt  [Trailer]">
show2.episodes.find_by_air_date(Date.new(2013,2,21))
#=> #<Epguides::Episode:0x007fcdf34951b0 @season="4", @number="06", @prod_number="XAR04007", @air_date=#<Date: 2013-02-21 ((2456345j,0s,0n),+0s,2299161j)>, @title="Once Bitten">

License

MIT