tvdb_ruby 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- 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")
|