spof 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -3
- data/README.md +6 -4
- data/Rakefile +9 -0
- data/lib/spof/version.rb +1 -1
- data/lib/spof.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2adcff75e550b47903d2324b70354dbf990dc5e
|
4
|
+
data.tar.gz: fa9fd3eade9b2cbf32308e3e0f4382165af83e69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c18068a2f46c94857659f3da03f78efae0486d95f5d5e30d86bf3e518d5a0f614ba12a043c9093ce5ff0cad9cbad4c585d182627b5cf20c27b402b063a3239c1
|
7
|
+
data.tar.gz: 14ead18152717a1c53383212467b0844e9965a31070e9c336f54478fe6702e72380f363f5d726a6f0887ae8845a72fad8ea1a39ac69b5316254d3b9aab8c61b0
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -1,11 +1,13 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
Spof
|
2
|
+
====
|
3
3
|
|
4
4
|
Ruby wrapper for the Spotify Search & Lookup API. Under development.
|
5
5
|
|
6
|
-
[![Build Status](https://travis-ci.org/ignaciocontreras/
|
6
|
+
[![Build Status](https://travis-ci.org/ignaciocontreras/spof.png?branch=master)](https://travis-ci.org/ignaciocontreras/spof)
|
7
|
+
|
8
|
+
[![Gem Version](https://badge.fury.io/rb/spof.png)](http://badge.fury.io/rb/spof)
|
7
9
|
|
8
10
|
License
|
9
11
|
-------
|
10
12
|
|
11
|
-
See LICENSE file.
|
13
|
+
See LICENSE file.
|
data/Rakefile
CHANGED
data/lib/spof/version.rb
CHANGED
data/lib/spof.rb
CHANGED
@@ -23,17 +23,17 @@ module Spof
|
|
23
23
|
|
24
24
|
def self.album(text, page = 1)
|
25
25
|
url = 'http://ws.spotify.com/search/1/album.json'
|
26
|
-
return get_response(url, text)
|
26
|
+
return get_response(url, text, page)
|
27
27
|
end
|
28
28
|
|
29
29
|
def self.artist(text, page = 1)
|
30
30
|
url = 'http://ws.spotify.com/search/1/artist.json'
|
31
|
-
return get_response(url, text)
|
31
|
+
return get_response(url, text, page)
|
32
32
|
end
|
33
33
|
|
34
34
|
def self.track(text, page = 1)
|
35
35
|
url = 'http://ws.spotify.com/search/1/track.json'
|
36
|
-
return get_response(url, text)
|
36
|
+
return get_response(url, text, page)
|
37
37
|
end
|
38
38
|
|
39
39
|
private
|