tvdb_ruby 0.0.0 → 0.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.
- data/lib/tvdb_ruby.rb +1 -4
- metadata +1 -1
data/lib/tvdb_ruby.rb
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
require 'httparty'
|
|
2
2
|
|
|
3
|
-
API_KEY = '
|
|
4
|
-
BASE_URL = 'http://www.thetvdb.com/api/'
|
|
3
|
+
API_KEY = '30EB2B37C19D9786'
|
|
5
4
|
|
|
6
5
|
class TVDB_Ruby
|
|
7
6
|
|
|
8
|
-
### Beginning of generic methods ###
|
|
9
|
-
|
|
10
7
|
# Search series in the database
|
|
11
8
|
def self.search_series(search)
|
|
12
9
|
terms = search.split(' ').join("%20")
|