ronnie 0.7.6 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. data/README.md +28 -134
  2. data/banner.txt +79 -0
  3. data/lib/ronnie/client.rb +4 -0
  4. data/lib/ronnie/client/activities.rb +17 -0
  5. data/lib/ronnie/client/albums.rb +35 -1
  6. data/lib/ronnie/client/artists.rb +27 -1
  7. data/lib/ronnie/client/playlists.rb +8 -0
  8. data/lib/ronnie/client/tokens.rb +13 -0
  9. data/lib/ronnie/client/tracks.rb +8 -0
  10. data/lib/ronnie/version.rb +1 -1
  11. data/spec/fixtures/cassettes/Ronnie_Client_Users/_activities/Retrieve_everyone_Activity_Stream/.yml +562 -0
  12. data/spec/fixtures/cassettes/Ronnie_Client_Users/_activities/Retrieve_friends_Activity_Stream/.yml +242 -0
  13. data/spec/fixtures/cassettes/Ronnie_Client_Users/_activities/Retrieve_user_Activity_Stream/.yml +339 -0
  14. data/spec/fixtures/cassettes/Ronnie_Client_Users/{_user/Retrieve_User → _create_token/create_playback_token_}/.yml +18 -15
  15. data/spec/fixtures/cassettes/Ronnie_Client_Users/_find_user/Find_user_by_e-mail_address_/.yml +64 -0
  16. data/spec/fixtures/cassettes/Ronnie_Client_Users/_follow/{Follow_a_User → Follow_a_user_}/.yml +16 -10
  17. data/spec/fixtures/cassettes/Ronnie_Client_Users/_followers/Retrieve_followers_of_a_user_/.yml +95 -0
  18. data/spec/fixtures/cassettes/Ronnie_Client_Users/_following/Retrieve_users_following_another_user_/.yml +95 -0
  19. data/spec/fixtures/cassettes/Ronnie_Client_Users/_following/Retrieve_users_following_authorized_user_/.yml +156 -0
  20. data/spec/fixtures/cassettes/Ronnie_Client_Users/_follows_/Authorized_user_is_following_a_user_/.yml +156 -0
  21. data/spec/fixtures/cassettes/Ronnie_Client_Users/_heavily_rotated_albums/retrieve_heavily_rotated_albums_/.yml +165 -0
  22. data/spec/fixtures/cassettes/Ronnie_Client_Users/_heavily_rotated_artists/retrieve_heavily_rotated_artists_/.yml +101 -0
  23. data/spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_albums_for_a_user_/.yml +160 -0
  24. data/spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_albums_for_a_user_s_friends_/.yml +167 -0
  25. data/spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_albums_for_everyone_/.yml +165 -0
  26. data/spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_artists_for_a_user_/.yml +102 -0
  27. data/spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_artists_for_a_user_s_friends_/.yml +165 -0
  28. data/spec/fixtures/cassettes/Ronnie_Client_Users/_heavy_rotation/Retrieve_the_most_popular_artists_for_everyone_/.yml +165 -0
  29. data/spec/fixtures/cassettes/Ronnie_Client_Users/_new_releases/Retrieve_new_releases_/.yml +274 -0
  30. data/spec/fixtures/cassettes/Ronnie_Client_Users/_search_users/Search_users_/.yml +66 -0
  31. data/spec/fixtures/cassettes/Ronnie_Client_Users/_top_albums/retrieve_the_site-wide_most_popular_albums_/.yml +265 -0
  32. data/spec/fixtures/cassettes/Ronnie_Client_Users/_top_artists/retrieve_the_site-wide_most_popular_artists_/.yml +141 -0
  33. data/spec/fixtures/cassettes/Ronnie_Client_Users/_top_playlists/retrieve_the_site-wide_most_popular_playlists_/.yml +184 -0
  34. data/spec/fixtures/cassettes/Ronnie_Client_Users/_top_tracks/retrieve_the_site-wide_most_popular_tracks_/.yml +255 -0
  35. data/spec/fixtures/cassettes/Ronnie_Client_Users/_unfollow/{Unfollow_a_User → Unfollow_a_user_}/.yml +15 -9
  36. data/spec/fixtures/cassettes/Ronnie_Client_Users/{_followers/Retrieve_Followers_of_a_User → _user/Retrieve_authorized_user_}/.yml +21 -15
  37. data/spec/fixtures/cassettes/Ronnie_Client_Users/_user/Retrieve_user_/.yml +64 -0
  38. data/spec/ronnie/client/activities_spec.rb +32 -0
  39. data/spec/ronnie/client/albums_spec.rb +26 -2
  40. data/spec/ronnie/client/artists_spec.rb +17 -1
  41. data/spec/ronnie/client/collections_spec.rb +1 -1
  42. data/spec/ronnie/client/playlists_spec.rb +9 -1
  43. data/spec/ronnie/client/tokens_spec.rb +22 -0
  44. data/spec/ronnie/client/tracks_spec.rb +10 -2
  45. data/spec/ronnie/client/users_spec.rb +17 -17
  46. metadata +63 -10
@@ -0,0 +1,167 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.rdio.com/1/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: method=getHeavyRotation&user=s112675&type=albums&friends=true
9
+ headers:
10
+ Authorization:
11
+ - OAuth oauth_consumer_key="ub9ebmvf7aee3pxcms9e5mh3", oauth_nonce="7cd22c1d8d7b7c4a13b2ec86dd591d9f",
12
+ oauth_signature="3ia3wpguO0LCSwruZp%2BtkFjnGsc%3D", oauth_signature_method="HMAC-SHA1",
13
+ oauth_timestamp="1351729833", oauth_token="ute6gf7jk4y5734hx42uxspfnhdkt42qt8habah6tkyvx4ay2xvhpt5faa2ddqc6",
14
+ oauth_version="1.0"
15
+ Content-Type:
16
+ - application/x-www-form-urlencoded
17
+ Accept:
18
+ - ! '*/*'
19
+ User-Agent:
20
+ - Ruby
21
+ response:
22
+ status:
23
+ code: 200
24
+ message: OK
25
+ headers:
26
+ X-Mashery-Responder:
27
+ - mashery-web1-lax.mashery.com
28
+ Content-Type:
29
+ - application/json
30
+ Vary:
31
+ - Accept-Encoding
32
+ - Accept-Language, Cookie
33
+ Content-Language:
34
+ - en
35
+ Cache-Control:
36
+ - no-cache
37
+ Access-Control-Allow-Origin:
38
+ - ! '*'
39
+ X-Version:
40
+ - '720'
41
+ Accept-Ranges:
42
+ - bytes
43
+ Date:
44
+ - Thu, 01 Nov 2012 00:30:31 GMT
45
+ Server:
46
+ - Mashery Proxy
47
+ Content-Length:
48
+ - '8706'
49
+ X-Cache:
50
+ - MISS from 172.19.134.2
51
+ X-Cache-Lookup:
52
+ - MISS from 172.19.134.2:3128
53
+ Via:
54
+ - 1.0 172.19.134.2:3128 (squid/2.6.STABLE14)
55
+ Connection:
56
+ - close
57
+ body:
58
+ encoding: US-ASCII
59
+ string: ! '{"status": "ok", "result": [{"baseIcon": "album/4/c/1/000000000010c1c4/square-200.jpg",
60
+ "releaseDate": "2011-11-15", "artistUrl": "/artist/Onra/", "duration": 3490,
61
+ "isClean": false, "shortUrl": "http://rd.io/x/QV76fCJPk4U", "canStream": true,
62
+ "embedUrl": "https://rd.io/e/QV76fCJPk4U", "type": "a", "price": "9.99", "key":
63
+ "a1098180", "icon": "http://cdn3.rd.io/album/4/c/1/000000000010c1c4/square-200.jpg",
64
+ "canSample": true, "hits": 568, "name": "Chinoiseries pt 2", "isExplicit":
65
+ false, "artist": "Onra", "url": "/artist/Onra/album/Chinoiseries_pt_2/", "artistKey":
66
+ "r627155", "length": 32, "trackKeys": ["t12587058", "t12587059", "t12587062",
67
+ "t12587065", "t12587067", "t12587069", "t12587072", "t12587080", "t12587087",
68
+ "t12587092", "t12587096", "t12587101", "t12587105", "t12587111", "t12587115",
69
+ "t12587121", "t12587128", "t12587132", "t12587135", "t12587141", "t12587143",
70
+ "t12587147", "t12587151", "t12587155", "t12587159", "t12587160", "t12587164",
71
+ "t12587165", "t12587169", "t12587172", "t12587174", "t12587176"], "canTether":
72
+ true, "displayDate": "Nov 15, 2011"}, {"baseIcon": "album/c/d/a/0000000000018adc/square-200.jpg",
73
+ "releaseDate": "2008-02-01", "artistUrl": "/artist/Beach_House/", "duration":
74
+ 2645, "isClean": false, "shortUrl": "http://rd.io/x/QV76fCJe2J0", "canStream":
75
+ true, "embedUrl": "https://rd.io/e/QV76fCJe2J0", "type": "a", "price": "9.99",
76
+ "key": "a101084", "icon": "http://cdn3.rd.io/album/c/d/a/0000000000018adc/square-200.jpg",
77
+ "canSample": true, "hits": 227, "name": "Devotion", "isExplicit": false, "artist":
78
+ "Beach House", "url": "/artist/Beach_House/album/Devotion/", "artistKey":
79
+ "r84798", "length": 11, "trackKeys": ["t1232761", "t1232781", "t1232805",
80
+ "t1232826", "t1232852", "t1232874", "t1232895", "t1232915", "t1232931", "t1232955",
81
+ "t1232973"], "canTether": true, "displayDate": "Feb 1, 2008"}, {"baseIcon":
82
+ "album/0/c/8/00000000001868c0/3/square-200.jpg", "releaseDate": "2012-04-20",
83
+ "artistUrl": "/artist/Actress/", "duration": 3419, "isClean": false, "shortUrl":
84
+ "http://rd.io/x/QV76fCJHOoE", "canStream": true, "embedUrl": "https://rd.io/e/QV76fCJHOoE",
85
+ "type": "a", "price": "None", "key": "a1599680", "icon": "http://cdn3.rd.io/album/0/c/8/00000000001868c0/3/square-200.jpg",
86
+ "canSample": true, "hits": 142, "name": "R.I.P.", "isExplicit": false, "artist":
87
+ "Actress", "url": "/artist/Actress/album/R.I.P./", "artistKey": "r166724",
88
+ "length": 15, "trackKeys": ["t17686677", "t17686681", "t17686685", "t17686692",
89
+ "t17686699", "t17686706", "t17686718", "t17686728", "t17686742", "t17686757",
90
+ "t17686771", "t17686778", "t17686791", "t17686799", "t17686809"], "canTether":
91
+ true, "displayDate": "Apr 20, 2012"}, {"baseIcon": "album/c/4/4/000000000020444c/1/square-200.jpg",
92
+ "releaseDate": "2011-05-25", "artistUrl": "/artist/Cstvt/", "duration": 1785,
93
+ "isClean": false, "shortUrl": "http://rd.io/x/QV76fCJ_Fg0", "canStream": true,
94
+ "embedUrl": "https://rd.io/e/QV76fCJ_Fg0", "type": "a", "price": "None", "key":
95
+ "a2114636", "icon": "http://cdn3.rd.io/album/c/4/4/000000000020444c/1/square-200.jpg",
96
+ "canSample": true, "hits": 88, "name": "The Echo & the Light", "isExplicit":
97
+ false, "artist": "Cstvt", "url": "/artist/Cstvt/album/The_Echo__the_Light/",
98
+ "artistKey": "r1608913", "length": 8, "trackKeys": ["t22721343", "t22721346",
99
+ "t22721347", "t22721348", "t22721349", "t22721350", "t22721351", "t22721353"],
100
+ "canTether": true, "displayDate": "May 25, 2011"}, {"baseIcon": "album/4/5/2/00000000000ee254/1/square-200.jpg",
101
+ "releaseDate": "2010-01-01", "artistUrl": "/artist/Mount_Kimbie/", "duration":
102
+ 2121, "isClean": false, "shortUrl": "http://rd.io/x/QV76fCJRsBU", "canStream":
103
+ true, "embedUrl": "https://rd.io/e/QV76fCJRsBU", "type": "a", "price": "8.99",
104
+ "key": "a975444", "icon": "http://cdn3.rd.io/album/4/5/2/00000000000ee254/1/square-200.jpg",
105
+ "canSample": true, "hits": 154, "name": "Crooks & Lovers", "isExplicit": false,
106
+ "artist": "Mount Kimbie", "url": "/artist/Mount_Kimbie/album/Crooks__Lovers/",
107
+ "artistKey": "r373089", "length": 11, "trackKeys": ["t11347485", "t11347489",
108
+ "t11347493", "t11347499", "t11347504", "t11347507", "t11347514", "t11347517",
109
+ "t11347521", "t11347524", "t11347528"], "canTether": true, "displayDate":
110
+ "Jan 1, 2010"}, {"baseIcon": "album/b/9/1/000000000003b19b/square-200.jpg",
111
+ "releaseDate": "1993-12-07", "artistUrl": "/artist/Steely_Dan/", "duration":
112
+ 17491, "isClean": true, "shortUrl": "http://rd.io/x/QV76fCJc49o", "canStream":
113
+ true, "embedUrl": "https://rd.io/e/QV76fCJc49o", "type": "a", "price": "39.99",
114
+ "key": "a242075", "icon": "http://cdn3.rd.io/album/b/9/1/000000000003b19b/square-200.jpg",
115
+ "canSample": true, "hits": 108, "name": "Citizen 1972-1980", "isExplicit":
116
+ false, "artist": "Steely Dan", "url": "/artist/Steely_Dan/album/Citizen_1972-1980/",
117
+ "artistKey": "r6546", "length": 66, "trackKeys": ["t2943201", "t2943247",
118
+ "t2943269", "t2943290", "t2943320", "t2943340", "t2943365", "t2943392", "t2943421",
119
+ "t2943442", "t2943476", "t2943517", "t2943539", "t2943576", "t2943618", "t2943651",
120
+ "t2943688", "t2943719", "t2943737", "t2943768", "t2943788", "t2943804", "t2943825",
121
+ "t2943841", "t2943862", "t2943867", "t2943891", "t2943907", "t2943923", "t2943940",
122
+ "t2943976", "t2943997", "t2944012", "t2944028", "t2944043", "t2944062", "t2944078",
123
+ "t2944090", "t2944111", "t2944132", "t2944147", "t2944170", "t2944190", "t2944212",
124
+ "t2944231", "t2944254", "t2944275", "t2944300", "t2944316", "t2944350", "t2944367",
125
+ "t2944393", "t2944432", "t2944453", "t2944495", "t2944525", "t2944549", "t2944567",
126
+ "t2944591", "t2944619", "t2944648", "t2944683", "t2944714", "t2944733", "t2944757",
127
+ "t2944785"], "canTether": true, "displayDate": "Dec 7, 1993"}, {"baseIcon":
128
+ "album/9/6/2/00000000000ee269/1/square-200.jpg", "releaseDate": "2009-01-01",
129
+ "artistUrl": "/artist/Mount_Kimbie/", "duration": 904, "isClean": false, "shortUrl":
130
+ "http://rd.io/x/QV76fCJRsCg", "canStream": true, "embedUrl": "https://rd.io/e/QV76fCJRsCg",
131
+ "type": "a", "price": "3.96", "key": "a975465", "icon": "http://cdn3.rd.io/album/9/6/2/00000000000ee269/1/square-200.jpg",
132
+ "canSample": true, "hits": 54, "name": "Maybes", "isExplicit": false, "artist":
133
+ "Mount Kimbie", "url": "/artist/Mount_Kimbie/album/Maybes/", "artistKey":
134
+ "r373089", "length": 4, "trackKeys": ["t11347771", "t11347773", "t11347775",
135
+ "t11347776"], "canTether": true, "displayDate": "Jan 1, 2009"}, {"baseIcon":
136
+ "album/d/7/d/00000000001c8d7d/1/square-200.jpg", "releaseDate": "2012-09-07",
137
+ "artistUrl": "/artist/Sonic_Area/", "duration": 3230, "isClean": false, "shortUrl":
138
+ "http://rd.io/x/QV76fCJD3zw", "canStream": true, "embedUrl": "https://rd.io/e/QV76fCJD3zw",
139
+ "type": "a", "price": "9.99", "key": "a1871229", "icon": "http://cdn3.rd.io/album/d/7/d/00000000001c8d7d/1/square-200.jpg",
140
+ "canSample": true, "hits": 290, "name": "music for ghosts", "isExplicit":
141
+ false, "artist": "Sonic Area", "url": "/artist/Sonic_Area/album/music_for_ghosts/",
142
+ "artistKey": "r623500", "length": 14, "trackKeys": ["t20241760", "t20241844",
143
+ "t20241859", "t20241957", "t20242073", "t20242169", "t20242294", "t20242344",
144
+ "t20242459", "t20242559", "t20242609", "t20242706", "t20242828", "t20242919"],
145
+ "canTether": true, "displayDate": "Sep 7, 2012"}, {"baseIcon": "album/a/2/5/00000000000d752a/square-200.jpg",
146
+ "releaseDate": "2011-07-02", "artistUrl": "/artist/Kendrick_Lamar/", "duration":
147
+ 3584, "isClean": false, "shortUrl": "http://rd.io/x/QV76fCJSJ2s", "canStream":
148
+ true, "embedUrl": "https://rd.io/e/QV76fCJSJ2s", "type": "a", "price": "9.99",
149
+ "key": "a881962", "icon": "http://cdn3.rd.io/album/a/2/5/00000000000d752a/square-200.jpg",
150
+ "canSample": true, "hits": 82, "name": "Section.80", "isExplicit": false,
151
+ "artist": "Kendrick Lamar", "url": "/artist/Kendrick_Lamar/album/Section.80/",
152
+ "artistKey": "r619646", "length": 16, "trackKeys": ["t10333487", "t10333497",
153
+ "t10333511", "t10333523", "t10333537", "t10333545", "t10333555", "t10333568",
154
+ "t10333582", "t10333596", "t10333601", "t10333612", "t10333620", "t10333636",
155
+ "t10333645", "t10333660"], "canTether": true, "displayDate": "Jul 2, 2011"},
156
+ {"baseIcon": "album/e/7/9/00000000001b797e/1/square-200.jpg", "releaseDate":
157
+ "2012-08-13", "artistUrl": "/artist/Urulu/", "duration": 1373, "isClean":
158
+ false, "shortUrl": "http://rd.io/x/QV76fCJEKz8", "canStream": true, "embedUrl":
159
+ "https://rd.io/e/QV76fCJEKz8", "type": "a", "price": "None", "key": "a1800574",
160
+ "icon": "http://cdn3.rd.io/album/e/7/9/00000000001b797e/1/square-200.jpg",
161
+ "canSample": true, "hits": 69, "name": "Sincerely 91", "isExplicit": false,
162
+ "artist": "Urulu", "url": "/artist/Urulu/album/Sincerely_91/", "artistKey":
163
+ "r921184", "length": 4, "trackKeys": ["t19510580", "t19510585", "t19510591",
164
+ "t19510596"], "canTether": true, "displayDate": "Aug 13, 2012"}]}'
165
+ http_version:
166
+ recorded_at: Thu, 01 Nov 2012 00:30:34 GMT
167
+ recorded_with: VCR 2.2.5
@@ -0,0 +1,165 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.rdio.com/1/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: method=getHeavyRotation&type=albums&friends=false
9
+ headers:
10
+ Authorization:
11
+ - OAuth oauth_consumer_key="ub9ebmvf7aee3pxcms9e5mh3", oauth_nonce="4ac570a20287cc3d969143cb5a439e3c",
12
+ oauth_signature="dDsDkA063Fk9l71pAbZpvLMA3fc%3D", oauth_signature_method="HMAC-SHA1",
13
+ oauth_timestamp="1351729832", oauth_token="ute6gf7jk4y5734hx42uxspfnhdkt42qt8habah6tkyvx4ay2xvhpt5faa2ddqc6",
14
+ oauth_version="1.0"
15
+ Content-Type:
16
+ - application/x-www-form-urlencoded
17
+ Accept:
18
+ - ! '*/*'
19
+ User-Agent:
20
+ - Ruby
21
+ response:
22
+ status:
23
+ code: 200
24
+ message: OK
25
+ headers:
26
+ X-Mashery-Responder:
27
+ - mashery-web3-lax.mashery.com
28
+ Content-Type:
29
+ - application/json
30
+ Vary:
31
+ - Accept-Encoding
32
+ - Accept-Language, Cookie
33
+ Content-Language:
34
+ - en
35
+ Cache-Control:
36
+ - no-cache
37
+ Access-Control-Allow-Origin:
38
+ - ! '*'
39
+ X-Version:
40
+ - '720'
41
+ Accept-Ranges:
42
+ - bytes
43
+ Date:
44
+ - Thu, 01 Nov 2012 00:30:29 GMT
45
+ Server:
46
+ - Mashery Proxy
47
+ Content-Length:
48
+ - '8641'
49
+ X-Cache:
50
+ - MISS from 172.19.134.2
51
+ X-Cache-Lookup:
52
+ - MISS from 172.19.134.2:3128
53
+ Via:
54
+ - 1.0 172.19.134.2:3128 (squid/2.6.STABLE14)
55
+ Connection:
56
+ - close
57
+ body:
58
+ encoding: US-ASCII
59
+ string: ! '{"status": "ok", "result": [{"baseIcon": "album/0/b/f/00000000001eafb0/4/square-200.jpg",
60
+ "releaseDate": "2012-10-22", "artistUrl": "/artist/Kendrick_Lamar/", "duration":
61
+ 4983, "isClean": false, "shortUrl": "http://rd.io/x/QV76fCJB_fE", "canStream":
62
+ true, "embedUrl": "https://rd.io/e/QV76fCJB_fE", "type": "a", "price": "12.99",
63
+ "key": "a2011056", "icon": "http://cdn3.rd.io/album/0/b/f/00000000001eafb0/4/square-200.jpg",
64
+ "canSample": true, "hits": 185279, "name": "good kid, m.A.A.d city (Deluxe)",
65
+ "isExplicit": true, "artist": "Kendrick Lamar", "url": "/artist/Kendrick_Lamar/album/good_kid%2C_m.A.A.d_city_(Deluxe)/",
66
+ "artistKey": "r619646", "length": 15, "trackKeys": ["t21652258", "t21652263",
67
+ "t21652273", "t21652278", "t21652285", "t21652296", "t21652304", "t21652310",
68
+ "t21652320", "t21652326", "t21652338", "t21652347", "t21652353", "t21652358",
69
+ "t21652363"], "canTether": true, "displayDate": "Oct 22, 2012"}, {"baseIcon":
70
+ "album/1/6/e/00000000001b5e61/4/square-200.jpg", "releaseDate": "2012-08-14",
71
+ "artistUrl": "/artist/2_Chainz/", "duration": 4035, "isClean": false, "shortUrl":
72
+ "http://rd.io/x/QV76fCJEDCA", "canStream": true, "embedUrl": "https://rd.io/e/QV76fCJEDCA",
73
+ "type": "a", "price": "12.99", "key": "a1793633", "icon": "http://cdn3.rd.io/album/1/6/e/00000000001b5e61/4/square-200.jpg",
74
+ "canSample": true, "hits": 100970, "name": "Based On A T.R.U. Story (Deluxe
75
+ Version)", "isExplicit": true, "artist": "2 Chainz", "url": "/artist/2_Chainz/album/Based_On_A_T.R.U._Story_(Deluxe_Version)/",
76
+ "artistKey": "r964657", "length": 17, "trackKeys": ["t19445738", "t19445857",
77
+ "t19445939", "t19446007", "t19446080", "t19446179", "t19446257", "t19446347",
78
+ "t19446442", "t19446544", "t19446651", "t19446735", "t19446818", "t19446903",
79
+ "t19446995", "t19447081", "t19447140"], "canTether": true, "displayDate":
80
+ "Aug 14, 2012"}, {"baseIcon": "album/0/1/c/000000000018ac10/4/square-200.jpg",
81
+ "releaseDate": "2012-06-19", "artistUrl": "/artist/Justin_Bieber/", "duration":
82
+ 3597, "isClean": true, "shortUrl": "http://rd.io/x/QV76fCJH_lE", "canStream":
83
+ true, "embedUrl": "https://rd.io/e/QV76fCJH_lE", "type": "a", "price": "14.99",
84
+ "key": "a1616912", "icon": "http://cdn3.rd.io/album/0/1/c/000000000018ac10/4/square-200.jpg",
85
+ "canSample": true, "hits": 89188, "name": "Believe (Deluxe Edition)", "isExplicit":
86
+ false, "artist": "Justin Bieber", "url": "/artist/Justin_Bieber/album/Believe_(Deluxe_Edition)/",
87
+ "artistKey": "r184130", "length": 16, "trackKeys": ["t17846071", "t17846074",
88
+ "t17846076", "t17846078", "t17846080", "t17846082", "t17846084", "t17846086",
89
+ "t17846089", "t17846091", "t17846095", "t17846098", "t17846100", "t17846103",
90
+ "t17846104", "t17846105"], "canTether": true, "displayDate": "Jun 19, 2012"},
91
+ {"baseIcon": "album/4/1/0/00000000001d9014/2/square-200.jpg", "releaseDate":
92
+ "2012-09-25", "artistUrl": "/artist/Mumford__Sons/", "duration": 3811, "isClean":
93
+ false, "shortUrl": "http://rd.io/x/QV76fCJCwlU", "canStream": true, "embedUrl":
94
+ "https://rd.io/e/QV76fCJCwlU", "type": "a", "price": "14.99", "key": "a1937428",
95
+ "icon": "http://cdn3.rd.io/album/4/1/0/00000000001d9014/2/square-200.jpg",
96
+ "canSample": true, "hits": 84046, "name": "Babel (Deluxe Edition)", "isExplicit":
97
+ false, "artist": "Mumford & Sons", "url": "/artist/Mumford__Sons/album/Babel_(Deluxe_Edition)/",
98
+ "artistKey": "r271514", "length": 15, "trackKeys": ["t20892966", "t20892970",
99
+ "t20892975", "t20892980", "t20892983", "t20892989", "t20892993", "t20892995",
100
+ "t20892998", "t20893001", "t20893003", "t20893007", "t20893010", "t20893012",
101
+ "t20893015"], "canTether": true, "displayDate": "Sep 25, 2012"}, {"baseIcon":
102
+ "album/9/5/7/000000000019b759/2/square-200.jpg", "releaseDate": "2012-06-29",
103
+ "artistUrl": "/artist/Chris_Brown/", "duration": 3285, "isClean": false, "shortUrl":
104
+ "http://rd.io/x/QV76fCJG5Rg", "canStream": true, "embedUrl": "https://rd.io/e/QV76fCJG5Rg",
105
+ "type": "a", "price": "9.99", "key": "a1685337", "icon": "http://cdn3.rd.io/album/9/5/7/000000000019b759/2/square-200.jpg",
106
+ "canSample": true, "hits": 80044, "name": "Fortune", "isExplicit": true, "artist":
107
+ "Chris Brown", "url": "/artist/Chris_Brown/album/Fortune/", "artistKey": "r37970",
108
+ "length": 14, "trackKeys": ["t18427870", "t18427871", "t18427872", "t18427873",
109
+ "t18427874", "t18427875", "t18427876", "t18427877", "t18427878", "t18427879",
110
+ "t18427880", "t18427881", "t18427883", "t18427884"], "canTether": true, "displayDate":
111
+ "Jun 29, 2012"}, {"baseIcon": "album/9/e/c/00000000001dfce9/3/square-200.jpg",
112
+ "releaseDate": "2012-10-09", "artistUrl": "/artist/Ellie_Goulding/", "duration":
113
+ 2811, "isClean": true, "shortUrl": "http://rd.io/x/QV76fCJCrqg", "canStream":
114
+ true, "embedUrl": "https://rd.io/e/QV76fCJCrqg", "type": "a", "price": "None",
115
+ "key": "a1965289", "icon": "http://cdn3.rd.io/album/9/e/c/00000000001dfce9/3/square-200.jpg",
116
+ "canSample": true, "hits": 79364, "name": "Halcyon", "isExplicit": false,
117
+ "artist": "Ellie Goulding", "url": "/artist/Ellie_Goulding/album/Halcyon_1/",
118
+ "artistKey": "r261510", "length": 12, "trackKeys": ["t21183028", "t21183095",
119
+ "t21183166", "t21183248", "t21183313", "t21183372", "t21183449", "t21183515",
120
+ "t21183576", "t21183661", "t21183725", "t21183794"], "canTether": true, "displayDate":
121
+ "Oct 9, 2012"}, {"baseIcon": "album/e/8/f/00000000001a8f8e/4/square-200.jpg",
122
+ "releaseDate": "2012-07-17", "artistUrl": "/artist/Frank_Ocean/", "duration":
123
+ 3349, "isClean": false, "shortUrl": "http://rd.io/x/QV76fCJF3c8", "canStream":
124
+ true, "embedUrl": "https://rd.io/e/QV76fCJF3c8", "type": "a", "price": "11.99",
125
+ "key": "a1740686", "icon": "http://cdn3.rd.io/album/e/8/f/00000000001a8f8e/4/square-200.jpg",
126
+ "canSample": true, "hits": 78485, "name": "channel ORANGE", "isExplicit":
127
+ true, "artist": "Frank Ocean", "url": "/artist/Frank_Ocean/album/channel_ORANGE_1/",
128
+ "artistKey": "r1009235", "length": 17, "trackKeys": ["t18937884", "t18937885",
129
+ "t18937886", "t18937887", "t18937888", "t18937889", "t18937890", "t18937891",
130
+ "t18937892", "t18937893", "t18937894", "t18937895", "t18937896", "t18937897",
131
+ "t18937898", "t18937899", "t18937900"], "canTether": true, "displayDate":
132
+ "Jul 17, 2012"}, {"baseIcon": "album/d/d/5/00000000001e25dd/1/square-200.jpg",
133
+ "releaseDate": "2012-10-09", "artistUrl": "/artist/Macklemore__Ryan_Lewis/",
134
+ "duration": 3848, "isClean": false, "shortUrl": "http://rd.io/x/QV76fCJBd5w",
135
+ "canStream": true, "embedUrl": "https://rd.io/e/QV76fCJBd5w", "type": "a",
136
+ "price": "9.99", "key": "a1975773", "icon": "http://cdn3.rd.io/album/d/d/5/00000000001e25dd/1/square-200.jpg",
137
+ "canSample": true, "hits": 71770, "name": "The Heist", "isExplicit": true,
138
+ "artist": "Macklemore & Ryan Lewis", "url": "/artist/Macklemore__Ryan_Lewis/album/The_Heist_1/",
139
+ "artistKey": "r1314092", "length": 15, "trackKeys": ["t21288443", "t21288505",
140
+ "t21288563", "t21288607", "t21288654", "t21288699", "t21288732", "t21288772",
141
+ "t21288815", "t21288852", "t21288884", "t21288948", "t21288997", "t21289048",
142
+ "t21289098"], "canTether": true, "displayDate": "Oct 9, 2012"}, {"baseIcon":
143
+ "album/1/c/e/0000000000114ec1/square-200.jpg", "releaseDate": "2011-10-24",
144
+ "artistUrl": "/artist/Drake/", "duration": 4816, "isClean": false, "shortUrl":
145
+ "http://rd.io/x/QV76fCJOHIA", "canStream": true, "embedUrl": "https://rd.io/e/QV76fCJOHIA",
146
+ "type": "a", "price": "None", "key": "a1134273", "icon": "http://cdn3.rd.io/album/1/c/e/0000000000114ec1/square-200.jpg",
147
+ "canSample": true, "hits": 71741, "name": "Take Care (Deluxe Version)", "isExplicit":
148
+ true, "artist": "Drake", "url": "/artist/Drake/album/Take_Care_(Deluxe_Version)/",
149
+ "artistKey": "r188975", "length": 18, "trackKeys": ["t13007074", "t13007075",
150
+ "t13007076", "t13007077", "t13007078", "t13007079", "t13007081", "t13007082",
151
+ "t13007083", "t13007084", "t13007085", "t13007086", "t13007087", "t13007089",
152
+ "t13007092", "t13007095", "t13007097", "t13007099"], "canTether": true, "displayDate":
153
+ "Oct 24, 2011"}, {"baseIcon": "album/f/0/b/0000000000152b0f/7/square-200.jpg",
154
+ "releaseDate": "2012-02-14", "artistUrl": "/artist/fun./", "duration": 2749,
155
+ "isClean": false, "shortUrl": "http://rd.io/x/QV76fCJKeU4", "canStream": true,
156
+ "embedUrl": "https://rd.io/e/QV76fCJKeU4", "type": "a", "price": "9.99", "key":
157
+ "a1387279", "icon": "http://cdn3.rd.io/album/f/0/b/0000000000152b0f/7/square-200.jpg",
158
+ "canSample": true, "hits": 66937, "name": "Some Nights", "isExplicit": false,
159
+ "artist": "fun.", "url": "/artist/fun./album/Some_Nights/", "artistKey": "r500780",
160
+ "length": 11, "trackKeys": ["t15625844", "t15625863", "t15625903", "t15625941",
161
+ "t15625983", "t15626015", "t15626055", "t15626080", "t15626114", "t15626145",
162
+ "t15626197"], "canTether": true, "displayDate": "Feb 14, 2012"}]}'
163
+ http_version:
164
+ recorded_at: Thu, 01 Nov 2012 00:30:32 GMT
165
+ recorded_with: VCR 2.2.5
@@ -0,0 +1,102 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.rdio.com/1/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: method=getHeavyRotation&user=s112675&type=artists&friends=false
9
+ headers:
10
+ Authorization:
11
+ - OAuth oauth_consumer_key="ub9ebmvf7aee3pxcms9e5mh3", oauth_nonce="dd15f6026f2433b2048d6b64bcba69f5",
12
+ oauth_signature="g84Ff%2FHRDUs97%2F9Vj6napfrU7Bg%3D", oauth_signature_method="HMAC-SHA1",
13
+ oauth_timestamp="1351729832", oauth_token="ute6gf7jk4y5734hx42uxspfnhdkt42qt8habah6tkyvx4ay2xvhpt5faa2ddqc6",
14
+ oauth_version="1.0"
15
+ Content-Type:
16
+ - application/x-www-form-urlencoded
17
+ Accept:
18
+ - ! '*/*'
19
+ User-Agent:
20
+ - Ruby
21
+ response:
22
+ status:
23
+ code: 200
24
+ message: OK
25
+ headers:
26
+ X-Mashery-Responder:
27
+ - mashery-web1-lax.mashery.com
28
+ Content-Type:
29
+ - application/json
30
+ Vary:
31
+ - Accept-Encoding
32
+ - Accept-Language, Cookie
33
+ Content-Language:
34
+ - en
35
+ Cache-Control:
36
+ - no-cache
37
+ Access-Control-Allow-Origin:
38
+ - ! '*'
39
+ X-Version:
40
+ - '720'
41
+ Accept-Ranges:
42
+ - bytes
43
+ Date:
44
+ - Thu, 01 Nov 2012 00:30:30 GMT
45
+ Server:
46
+ - Mashery Proxy
47
+ Content-Length:
48
+ - '3335'
49
+ X-Cache:
50
+ - MISS from 172.19.134.2
51
+ X-Cache-Lookup:
52
+ - MISS from 172.19.134.2:3128
53
+ Via:
54
+ - 1.0 172.19.134.2:3128 (squid/2.6.STABLE14)
55
+ Connection:
56
+ - close
57
+ body:
58
+ encoding: US-ASCII
59
+ string: ! '{"status": "ok", "result": [{"key": "r166724", "hits": 53, "name":
60
+ "Actress", "shortUrl": "http://rd.io/x/QV76fDFd2QU", "url": "/artist/Actress/",
61
+ "hasRadio": true, "length": 52, "baseIcon": "artist/no-artist-image-square.png",
62
+ "radioKey": "rr166724", "icon": "http://cdn3.rd.io/artist/no-artist-image-square.png",
63
+ "type": "r", "topSongsKey": "tr166724"}, {"key": "r729506", "hits": 91, "name":
64
+ "Laurel Halo", "shortUrl": "http://rd.io/x/QV76fDFUc-M", "url": "/artist/Laurel_Halo/",
65
+ "hasRadio": true, "length": 23, "baseIcon": "artist/no-artist-image-square.png",
66
+ "radioKey": "rr729506", "icon": "http://cdn3.rd.io/artist/no-artist-image-square.png",
67
+ "type": "r", "topSongsKey": "tr729506"}, {"key": "r2033779", "hits": 175,
68
+ "name": "Diiv", "shortUrl": "http://rd.io/x/QV76fDFAWjI", "url": "/artist/Diiv/",
69
+ "hasRadio": false, "length": 21, "baseIcon": "artist/no-artist-image-square.png",
70
+ "icon": "http://cdn3.rd.io/artist/no-artist-image-square.png", "type": "r",
71
+ "topSongsKey": "tr2033779"}, {"key": "r1220529", "hits": 13, "name": "Air
72
+ France", "shortUrl": "http://rd.io/x/QV76fDFNzfA", "url": "/artist/Air_France/",
73
+ "hasRadio": true, "length": 10, "baseIcon": "artist/no-artist-image-square.png",
74
+ "radioKey": "rr1220529", "icon": "http://cdn3.rd.io/artist/no-artist-image-square.png",
75
+ "type": "r", "topSongsKey": "tr1220529"}, {"key": "r52915", "hits": 18, "name":
76
+ "Grouper", "shortUrl": "http://rd.io/x/QV76fDGR4Q", "url": "/artist/Grouper/",
77
+ "hasRadio": true, "length": 62, "baseIcon": "artist/no-artist-image-square.png",
78
+ "radioKey": "rr52915", "icon": "http://cdn3.rd.io/artist/no-artist-image-square.png",
79
+ "type": "r", "topSongsKey": "tr52915"}, {"key": "r413980", "hits": 134, "name":
80
+ "Anais Mitchell", "shortUrl": "http://rd.io/x/QV76fDFZA10", "url": "/artist/Anais_Mitchell/",
81
+ "hasRadio": true, "length": 64, "baseIcon": "artist/no-artist-image-square.png",
82
+ "radioKey": "rr413980", "icon": "http://cdn3.rd.io/artist/no-artist-image-square.png",
83
+ "type": "r", "topSongsKey": "tr413980"}, {"key": "r141345", "hits": 134, "name":
84
+ "Hot Chip", "shortUrl": "http://rd.io/x/QV76fDFdemA", "url": "/artist/Hot_Chip/",
85
+ "hasRadio": true, "length": 161, "baseIcon": "artist/no-artist-image-square.png",
86
+ "radioKey": "rr141345", "icon": "http://cdn3.rd.io/artist/no-artist-image-square.png",
87
+ "type": "r", "topSongsKey": "tr141345"}, {"key": "r373021", "hits": 168, "name":
88
+ "Mount Eerie", "shortUrl": "http://rd.io/x/QV76fDFa41w", "url": "/artist/Mount_Eerie/",
89
+ "hasRadio": true, "length": 175, "baseIcon": "artist/no-artist-image-square.png",
90
+ "radioKey": "rr373021", "icon": "http://cdn3.rd.io/artist/no-artist-image-square.png",
91
+ "type": "r", "topSongsKey": "tr373021"}, {"key": "r443733", "hits": 105, "name":
92
+ "Twin Shadow", "shortUrl": "http://rd.io/x/QV76fDFZlxQ", "url": "/artist/Twin_Shadow/",
93
+ "hasRadio": true, "length": 28, "baseIcon": "artist/no-artist-image-square.png",
94
+ "radioKey": "rr443733", "icon": "http://cdn3.rd.io/artist/no-artist-image-square.png",
95
+ "type": "r", "topSongsKey": "tr443733"}, {"key": "r86272", "hits": 121, "name":
96
+ "The Shins", "shortUrl": "http://rd.io/x/QV76fDFeA0E", "url": "/artist/The_Shins/",
97
+ "hasRadio": true, "length": 59, "baseIcon": "artist/no-artist-image-square.png",
98
+ "radioKey": "rr86272", "icon": "http://cdn3.rd.io/artist/no-artist-image-square.png",
99
+ "type": "r", "topSongsKey": "tr86272"}]}'
100
+ http_version:
101
+ recorded_at: Thu, 01 Nov 2012 00:30:33 GMT
102
+ recorded_with: VCR 2.2.5
@@ -0,0 +1,165 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.rdio.com/1/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: method=getHeavyRotation&type=albums&friends=false
9
+ headers:
10
+ Authorization:
11
+ - OAuth oauth_consumer_key="ub9ebmvf7aee3pxcms9e5mh3", oauth_nonce="53e6f67dc30a89f56647eb71f0aa3db2",
12
+ oauth_signature="OIWSVYcrtF5pWLZAQhGMtEw0yG4%3D", oauth_signature_method="HMAC-SHA1",
13
+ oauth_timestamp="1351729831", oauth_token="ute6gf7jk4y5734hx42uxspfnhdkt42qt8habah6tkyvx4ay2xvhpt5faa2ddqc6",
14
+ oauth_version="1.0"
15
+ Content-Type:
16
+ - application/x-www-form-urlencoded
17
+ Accept:
18
+ - ! '*/*'
19
+ User-Agent:
20
+ - Ruby
21
+ response:
22
+ status:
23
+ code: 200
24
+ message: OK
25
+ headers:
26
+ X-Mashery-Responder:
27
+ - mashery-web2-lax.mashery.com
28
+ Content-Type:
29
+ - application/json
30
+ Vary:
31
+ - Accept-Encoding
32
+ - Accept-Language, Cookie
33
+ Content-Language:
34
+ - en
35
+ Cache-Control:
36
+ - no-cache
37
+ Access-Control-Allow-Origin:
38
+ - ! '*'
39
+ X-Version:
40
+ - '720'
41
+ Accept-Ranges:
42
+ - bytes
43
+ Date:
44
+ - Thu, 01 Nov 2012 00:30:29 GMT
45
+ Server:
46
+ - Mashery Proxy
47
+ Content-Length:
48
+ - '8641'
49
+ X-Cache:
50
+ - MISS from 172.19.134.2
51
+ X-Cache-Lookup:
52
+ - MISS from 172.19.134.2:3128
53
+ Via:
54
+ - 1.0 172.19.134.2:3128 (squid/2.6.STABLE14)
55
+ Connection:
56
+ - close
57
+ body:
58
+ encoding: US-ASCII
59
+ string: ! '{"status": "ok", "result": [{"baseIcon": "album/0/b/f/00000000001eafb0/4/square-200.jpg",
60
+ "releaseDate": "2012-10-22", "artistUrl": "/artist/Kendrick_Lamar/", "duration":
61
+ 4983, "isClean": false, "shortUrl": "http://rd.io/x/QV76fCJB_fE", "canStream":
62
+ true, "embedUrl": "https://rd.io/e/QV76fCJB_fE", "type": "a", "price": "12.99",
63
+ "key": "a2011056", "icon": "http://cdn3.rd.io/album/0/b/f/00000000001eafb0/4/square-200.jpg",
64
+ "canSample": true, "hits": 185279, "name": "good kid, m.A.A.d city (Deluxe)",
65
+ "isExplicit": true, "artist": "Kendrick Lamar", "url": "/artist/Kendrick_Lamar/album/good_kid%2C_m.A.A.d_city_(Deluxe)/",
66
+ "artistKey": "r619646", "length": 15, "trackKeys": ["t21652258", "t21652263",
67
+ "t21652273", "t21652278", "t21652285", "t21652296", "t21652304", "t21652310",
68
+ "t21652320", "t21652326", "t21652338", "t21652347", "t21652353", "t21652358",
69
+ "t21652363"], "canTether": true, "displayDate": "Oct 22, 2012"}, {"baseIcon":
70
+ "album/1/6/e/00000000001b5e61/4/square-200.jpg", "releaseDate": "2012-08-14",
71
+ "artistUrl": "/artist/2_Chainz/", "duration": 4035, "isClean": false, "shortUrl":
72
+ "http://rd.io/x/QV76fCJEDCA", "canStream": true, "embedUrl": "https://rd.io/e/QV76fCJEDCA",
73
+ "type": "a", "price": "12.99", "key": "a1793633", "icon": "http://cdn3.rd.io/album/1/6/e/00000000001b5e61/4/square-200.jpg",
74
+ "canSample": true, "hits": 100970, "name": "Based On A T.R.U. Story (Deluxe
75
+ Version)", "isExplicit": true, "artist": "2 Chainz", "url": "/artist/2_Chainz/album/Based_On_A_T.R.U._Story_(Deluxe_Version)/",
76
+ "artistKey": "r964657", "length": 17, "trackKeys": ["t19445738", "t19445857",
77
+ "t19445939", "t19446007", "t19446080", "t19446179", "t19446257", "t19446347",
78
+ "t19446442", "t19446544", "t19446651", "t19446735", "t19446818", "t19446903",
79
+ "t19446995", "t19447081", "t19447140"], "canTether": true, "displayDate":
80
+ "Aug 14, 2012"}, {"baseIcon": "album/0/1/c/000000000018ac10/4/square-200.jpg",
81
+ "releaseDate": "2012-06-19", "artistUrl": "/artist/Justin_Bieber/", "duration":
82
+ 3597, "isClean": true, "shortUrl": "http://rd.io/x/QV76fCJH_lE", "canStream":
83
+ true, "embedUrl": "https://rd.io/e/QV76fCJH_lE", "type": "a", "price": "14.99",
84
+ "key": "a1616912", "icon": "http://cdn3.rd.io/album/0/1/c/000000000018ac10/4/square-200.jpg",
85
+ "canSample": true, "hits": 89188, "name": "Believe (Deluxe Edition)", "isExplicit":
86
+ false, "artist": "Justin Bieber", "url": "/artist/Justin_Bieber/album/Believe_(Deluxe_Edition)/",
87
+ "artistKey": "r184130", "length": 16, "trackKeys": ["t17846071", "t17846074",
88
+ "t17846076", "t17846078", "t17846080", "t17846082", "t17846084", "t17846086",
89
+ "t17846089", "t17846091", "t17846095", "t17846098", "t17846100", "t17846103",
90
+ "t17846104", "t17846105"], "canTether": true, "displayDate": "Jun 19, 2012"},
91
+ {"baseIcon": "album/4/1/0/00000000001d9014/2/square-200.jpg", "releaseDate":
92
+ "2012-09-25", "artistUrl": "/artist/Mumford__Sons/", "duration": 3811, "isClean":
93
+ false, "shortUrl": "http://rd.io/x/QV76fCJCwlU", "canStream": true, "embedUrl":
94
+ "https://rd.io/e/QV76fCJCwlU", "type": "a", "price": "14.99", "key": "a1937428",
95
+ "icon": "http://cdn3.rd.io/album/4/1/0/00000000001d9014/2/square-200.jpg",
96
+ "canSample": true, "hits": 84046, "name": "Babel (Deluxe Edition)", "isExplicit":
97
+ false, "artist": "Mumford & Sons", "url": "/artist/Mumford__Sons/album/Babel_(Deluxe_Edition)/",
98
+ "artistKey": "r271514", "length": 15, "trackKeys": ["t20892966", "t20892970",
99
+ "t20892975", "t20892980", "t20892983", "t20892989", "t20892993", "t20892995",
100
+ "t20892998", "t20893001", "t20893003", "t20893007", "t20893010", "t20893012",
101
+ "t20893015"], "canTether": true, "displayDate": "Sep 25, 2012"}, {"baseIcon":
102
+ "album/9/5/7/000000000019b759/2/square-200.jpg", "releaseDate": "2012-06-29",
103
+ "artistUrl": "/artist/Chris_Brown/", "duration": 3285, "isClean": false, "shortUrl":
104
+ "http://rd.io/x/QV76fCJG5Rg", "canStream": true, "embedUrl": "https://rd.io/e/QV76fCJG5Rg",
105
+ "type": "a", "price": "9.99", "key": "a1685337", "icon": "http://cdn3.rd.io/album/9/5/7/000000000019b759/2/square-200.jpg",
106
+ "canSample": true, "hits": 80044, "name": "Fortune", "isExplicit": true, "artist":
107
+ "Chris Brown", "url": "/artist/Chris_Brown/album/Fortune/", "artistKey": "r37970",
108
+ "length": 14, "trackKeys": ["t18427870", "t18427871", "t18427872", "t18427873",
109
+ "t18427874", "t18427875", "t18427876", "t18427877", "t18427878", "t18427879",
110
+ "t18427880", "t18427881", "t18427883", "t18427884"], "canTether": true, "displayDate":
111
+ "Jun 29, 2012"}, {"baseIcon": "album/9/e/c/00000000001dfce9/3/square-200.jpg",
112
+ "releaseDate": "2012-10-09", "artistUrl": "/artist/Ellie_Goulding/", "duration":
113
+ 2811, "isClean": true, "shortUrl": "http://rd.io/x/QV76fCJCrqg", "canStream":
114
+ true, "embedUrl": "https://rd.io/e/QV76fCJCrqg", "type": "a", "price": "None",
115
+ "key": "a1965289", "icon": "http://cdn3.rd.io/album/9/e/c/00000000001dfce9/3/square-200.jpg",
116
+ "canSample": true, "hits": 79364, "name": "Halcyon", "isExplicit": false,
117
+ "artist": "Ellie Goulding", "url": "/artist/Ellie_Goulding/album/Halcyon_1/",
118
+ "artistKey": "r261510", "length": 12, "trackKeys": ["t21183028", "t21183095",
119
+ "t21183166", "t21183248", "t21183313", "t21183372", "t21183449", "t21183515",
120
+ "t21183576", "t21183661", "t21183725", "t21183794"], "canTether": true, "displayDate":
121
+ "Oct 9, 2012"}, {"baseIcon": "album/e/8/f/00000000001a8f8e/4/square-200.jpg",
122
+ "releaseDate": "2012-07-17", "artistUrl": "/artist/Frank_Ocean/", "duration":
123
+ 3349, "isClean": false, "shortUrl": "http://rd.io/x/QV76fCJF3c8", "canStream":
124
+ true, "embedUrl": "https://rd.io/e/QV76fCJF3c8", "type": "a", "price": "11.99",
125
+ "key": "a1740686", "icon": "http://cdn3.rd.io/album/e/8/f/00000000001a8f8e/4/square-200.jpg",
126
+ "canSample": true, "hits": 78485, "name": "channel ORANGE", "isExplicit":
127
+ true, "artist": "Frank Ocean", "url": "/artist/Frank_Ocean/album/channel_ORANGE_1/",
128
+ "artistKey": "r1009235", "length": 17, "trackKeys": ["t18937884", "t18937885",
129
+ "t18937886", "t18937887", "t18937888", "t18937889", "t18937890", "t18937891",
130
+ "t18937892", "t18937893", "t18937894", "t18937895", "t18937896", "t18937897",
131
+ "t18937898", "t18937899", "t18937900"], "canTether": true, "displayDate":
132
+ "Jul 17, 2012"}, {"baseIcon": "album/d/d/5/00000000001e25dd/1/square-200.jpg",
133
+ "releaseDate": "2012-10-09", "artistUrl": "/artist/Macklemore__Ryan_Lewis/",
134
+ "duration": 3848, "isClean": false, "shortUrl": "http://rd.io/x/QV76fCJBd5w",
135
+ "canStream": true, "embedUrl": "https://rd.io/e/QV76fCJBd5w", "type": "a",
136
+ "price": "9.99", "key": "a1975773", "icon": "http://cdn3.rd.io/album/d/d/5/00000000001e25dd/1/square-200.jpg",
137
+ "canSample": true, "hits": 71770, "name": "The Heist", "isExplicit": true,
138
+ "artist": "Macklemore & Ryan Lewis", "url": "/artist/Macklemore__Ryan_Lewis/album/The_Heist_1/",
139
+ "artistKey": "r1314092", "length": 15, "trackKeys": ["t21288443", "t21288505",
140
+ "t21288563", "t21288607", "t21288654", "t21288699", "t21288732", "t21288772",
141
+ "t21288815", "t21288852", "t21288884", "t21288948", "t21288997", "t21289048",
142
+ "t21289098"], "canTether": true, "displayDate": "Oct 9, 2012"}, {"baseIcon":
143
+ "album/1/c/e/0000000000114ec1/square-200.jpg", "releaseDate": "2011-10-24",
144
+ "artistUrl": "/artist/Drake/", "duration": 4816, "isClean": false, "shortUrl":
145
+ "http://rd.io/x/QV76fCJOHIA", "canStream": true, "embedUrl": "https://rd.io/e/QV76fCJOHIA",
146
+ "type": "a", "price": "None", "key": "a1134273", "icon": "http://cdn3.rd.io/album/1/c/e/0000000000114ec1/square-200.jpg",
147
+ "canSample": true, "hits": 71741, "name": "Take Care (Deluxe Version)", "isExplicit":
148
+ true, "artist": "Drake", "url": "/artist/Drake/album/Take_Care_(Deluxe_Version)/",
149
+ "artistKey": "r188975", "length": 18, "trackKeys": ["t13007074", "t13007075",
150
+ "t13007076", "t13007077", "t13007078", "t13007079", "t13007081", "t13007082",
151
+ "t13007083", "t13007084", "t13007085", "t13007086", "t13007087", "t13007089",
152
+ "t13007092", "t13007095", "t13007097", "t13007099"], "canTether": true, "displayDate":
153
+ "Oct 24, 2011"}, {"baseIcon": "album/f/0/b/0000000000152b0f/7/square-200.jpg",
154
+ "releaseDate": "2012-02-14", "artistUrl": "/artist/fun./", "duration": 2749,
155
+ "isClean": false, "shortUrl": "http://rd.io/x/QV76fCJKeU4", "canStream": true,
156
+ "embedUrl": "https://rd.io/e/QV76fCJKeU4", "type": "a", "price": "9.99", "key":
157
+ "a1387279", "icon": "http://cdn3.rd.io/album/f/0/b/0000000000152b0f/7/square-200.jpg",
158
+ "canSample": true, "hits": 66937, "name": "Some Nights", "isExplicit": false,
159
+ "artist": "fun.", "url": "/artist/fun./album/Some_Nights/", "artistKey": "r500780",
160
+ "length": 11, "trackKeys": ["t15625844", "t15625863", "t15625903", "t15625941",
161
+ "t15625983", "t15626015", "t15626055", "t15626080", "t15626114", "t15626145",
162
+ "t15626197"], "canTether": true, "displayDate": "Feb 14, 2012"}]}'
163
+ http_version:
164
+ recorded_at: Thu, 01 Nov 2012 00:30:32 GMT
165
+ recorded_with: VCR 2.2.5