serenity_now 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,6 +13,10 @@ require 'httparty'
13
13
  # Show Info + Episode List /full_show_info.php?sid=SHOWID
14
14
  # Episode List /episode_list.php?sid=SHOWID
15
15
  # Episode Info /episodeinfo.php?show=SHOWNAME&exact=1&ep=SEASONxEPISODE
16
+ # US Episode List /fullschedule.php?country=US
17
+ # UK Episode List /fullschedule.php?country=UK
18
+ # NL Episode List /fullschedule.php?country=NL
19
+ # US Episode List (24h) /fullschedule.php?country=US&24_format=1
16
20
  #
17
21
  # Examples for 'Buffy'
18
22
  # --------------------
@@ -60,5 +64,14 @@ module SerenityNow
60
64
  self.class.get( '/episodeinfo.php', query: query )
61
65
  end
62
66
 
67
+ #
68
+ # Full Schedule
69
+ # available options: { country: 'US', 24_format: 1 }
70
+ #
71
+ def schedule( country = 'US', 24h = false )
72
+ query = { country: country, 24_format: (24h ? 1 : 0) }
73
+ self.clas.get( '/fullschedule.php', query: query )
74
+ end
75
+
63
76
  end
64
77
  end
@@ -1,3 +1,3 @@
1
1
  module SerenityNow
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serenity_now
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: