spotify-client 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spotify/version.rb +1 -1
- data/lib/spotify_client.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30d069538d222005fd71425244c85c59194502c8
|
4
|
+
data.tar.gz: 0f7cd0be0b591230b75ebc611972d860737c9aa4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05667e618f8fde81478223162225b90870290bdaef4b3e10b7ee34025bb9da95101450c89cedd58efdae3a528842850f46702ec92dd62ef1233613abea032d3d
|
7
|
+
data.tar.gz: 41553ee35272c0894ae838bf9b0d5ffc77ccc82451f142d4e0cb85f51bca7673b08d9914010dd7a3ae31f54367d817e7bbf5da2e9ab67dd71c201aa5e88ea007
|
data/lib/spotify/version.rb
CHANGED
data/lib/spotify_client.rb
CHANGED
@@ -126,6 +126,10 @@ module Spotify
|
|
126
126
|
def artist_top_tracks(artist_id, country_id)
|
127
127
|
run(:get, "/v1/artists/#{artist_id}/top-tracks", [200], { :country => country_id })
|
128
128
|
end
|
129
|
+
|
130
|
+
def related_artists(artist_id)
|
131
|
+
run(:get, "/v1/artists/#{artist_id}/related-artists", [200])
|
132
|
+
end
|
129
133
|
|
130
134
|
protected
|
131
135
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spotify-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Claudio Poli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: excon
|