spot_tracks 0.0.4 → 0.0.5
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.
- checksums.yaml +4 -4
- data/README.md +2 -18
- data/lib/spot_tracks/track.rb +1 -1
- data/lib/spot_tracks/version.rb +1 -1
- 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: 751e29992280103a7d11ef5734e7fb99b9362bc3
|
|
4
|
+
data.tar.gz: e14a859f556aa33a31bdc48fc143751d1d6bce04
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 930c1717ee05a7ac7479ab2645a3a3d3bbbc1f4cc70a705d9d908a0236553e3cab217132052d40cb3f083229065d399e767de6f1d51e4614ca9bf461b34955c5
|
|
7
|
+
data.tar.gz: 37cd453ac5d9078f1f3f246c10d7c7be986a2bcc4d02ffbac3d0e29fbbf932953eab027cedaf63fcf1295b15497d846e9906d7e3b0ea1977d21c8736a107aa2f
|
data/README.md
CHANGED
|
@@ -20,24 +20,8 @@ Or install it yourself as:
|
|
|
20
20
|
|
|
21
21
|
SpotTracks pulls your Last.fm RSS feed, and looks up those tracks on Spotify. It returns a json hash with your data:
|
|
22
22
|
|
|
23
|
-
SpotTracks::Feed.new('mttwrnr')
|
|
24
|
-
#=>
|
|
25
|
-
"title":"mttwrnr's Recently Played Tracks",
|
|
26
|
-
"url":"http://www.last.fm/user/mttwrnr",
|
|
27
|
-
"entries":[{
|
|
28
|
-
"title":"Duck Sauce – NRG - Radio Edit",
|
|
29
|
-
"urls":{
|
|
30
|
-
"lastfm":"http://www.last.fm/music/Duck+Sauce/_/NRG+-+Radio+Edit",
|
|
31
|
-
"spotify":"spotify:track:6MbFmc3lDtnlihb7DEabRA"
|
|
32
|
-
}
|
|
33
|
-
},{
|
|
34
|
-
"title":"The Magician – When The Night Is Over - Clancy Remix [feat. Newtimers]",
|
|
35
|
-
"urls":{
|
|
36
|
-
"lastfm":"http://www.last.fm/music/The+Magician/_/When+The+Night+Is+Over+-+Clancy+Remix+%5Bfeat.+Newtimers%5D",
|
|
37
|
-
"spotify":"spotify:track:58ScEoCoWkICs0HD7xHYKI"
|
|
38
|
-
}
|
|
39
|
-
}]
|
|
40
|
-
}
|
|
23
|
+
SpotTracks::Feed.new('mttwrnr')
|
|
24
|
+
#=> [#<SpotTracks::Track:0x0000010329bb30 @name="Intro", @artist="The xx", @image="https://i.scdn.co/image/3631f331aa9a65dd93f78f8797d8a27cbba53f5f", @uri="spotify:track:0bXpmJyHHYPk6QBFj25bYF">]
|
|
41
25
|
|
|
42
26
|
Enjoy!
|
|
43
27
|
|
data/lib/spot_tracks/track.rb
CHANGED
data/lib/spot_tracks/version.rb
CHANGED