rspotify 1.7.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -0
  3. data/lib/rspotify/album.rb +25 -11
  4. data/lib/rspotify/artist.rb +8 -11
  5. data/lib/rspotify/base.rb +21 -19
  6. data/lib/rspotify/playlist.rb +22 -0
  7. data/lib/rspotify/track.rb +9 -12
  8. data/lib/rspotify/version.rb +1 -1
  9. data/spec/lib/rspotify/album_spec.rb +40 -0
  10. data/spec/lib/rspotify/artist_spec.rb +6 -0
  11. data/spec/lib/rspotify/playlist_spec.rb +31 -1
  12. data/spec/lib/rspotify/track_spec.rb +6 -0
  13. data/spec/lib/rspotify/user_spec.rb +2 -2
  14. data/spec/vcr_cassettes/album_new_releases.yml +148 -0
  15. data/spec/vcr_cassettes/album_new_releases_country_ES.yml +153 -0
  16. data/spec/vcr_cassettes/album_new_releases_limit_10_offset_10.yml +110 -0
  17. data/spec/vcr_cassettes/album_search_AM_market_ES.yml +145 -0
  18. data/spec/vcr_cassettes/artist_search_Arctic_market_ES.yml +126 -0
  19. data/spec/vcr_cassettes/{authenticate_5ac1cda2ad354aeaa1ad2693d33bb98c.yml → authenticate_client.yml} +15 -15
  20. data/spec/vcr_cassettes/playlist_browse_featured.yml +98 -0
  21. data/spec/vcr_cassettes/playlist_browse_featured_country_ES_timestamp_2014-10-23T09_00_00.yml +111 -0
  22. data/spec/vcr_cassettes/playlist_browse_featured_limit_10_offset_10.yml +77 -0
  23. data/spec/vcr_cassettes/playlist_browse_featured_locale_es_MX.yml +98 -0
  24. data/spec/vcr_cassettes/track_search_Wanna_Know.yml +1 -1
  25. data/spec/vcr_cassettes/track_search_Wanna_Know_limit_10.yml +1 -1
  26. data/spec/vcr_cassettes/track_search_Wanna_Know_limit_10_offset_10.yml +1 -1
  27. data/spec/vcr_cassettes/track_search_Wanna_Know_market_ES.yml +230 -0
  28. data/spec/vcr_cassettes/track_search_Wanna_Know_offset_10.yml +1 -1
  29. metadata +24 -4
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: grant_type=client_credentials
9
9
  headers:
10
10
  accept:
11
- - '*/*; q=0.5, application/xml'
11
+ - "*/*; q=0.5, application/xml"
12
12
  accept-encoding:
13
13
  - gzip, deflate
14
14
  authorization:
@@ -27,7 +27,7 @@ http_interactions:
27
27
  server:
28
28
  - nginx
29
29
  date:
30
- - Fri, 15 Aug 2014 19:54:58 GMT
30
+ - Sat, 22 Nov 2014 00:55:48 GMT
31
31
  content-type:
32
32
  - application/json
33
33
  transfer-encoding:
@@ -44,15 +44,15 @@ http_interactions:
44
44
  content-security-policy:
45
45
  - 'default-src ''self''; script-src ''self'' https://d2d1dxiu3v1f2i.cloudfront.net
46
46
  https://www.google-analytics.com; img-src ''self'' https://d2d1dxiu3v1f2i.cloudfront.net
47
- https://i.imgur.com https://graph.facebook.com https://fbcdn-profile-a.akamaihd.net
48
- https://www.google-analytics.com https://stats.g.doubleclick.net data: d2d1dxiu3v1f2i.cloudfront.net;
49
- font-src ''self'' https://d2d1dxiu3v1f2i.cloudfront.net; style-src ''self''
50
- ''unsafe-inline'' https://d2d1dxiu3v1f2i.cloudfront.net; frame-src ''self''
51
- https://www.spotify.com;'
47
+ https://i.imgur.com https://d2mv8tnci56s9d.cloudfront.net https://aci.scdn.co
48
+ https://graph.facebook.com https://fbcdn-profile-a.akamaihd.net https://www.google-analytics.com
49
+ https://stats.g.doubleclick.net data: d2d1dxiu3v1f2i.cloudfront.net; font-src
50
+ ''self'' https://d2d1dxiu3v1f2i.cloudfront.net; style-src ''self'' ''unsafe-inline''
51
+ https://d2d1dxiu3v1f2i.cloudfront.net; frame-src ''self'' https://www.spotify.com;'
52
52
  cache-control:
53
- - ': no-cache, no-store, must-revalidate'
53
+ - ": no-cache, no-store, must-revalidate"
54
54
  pragma:
55
- - ': no-cache'
55
+ - ": no-cache"
56
56
  x-content-type-options:
57
57
  - nosniff
58
58
  strict-transport-security:
@@ -62,10 +62,10 @@ http_interactions:
62
62
  body:
63
63
  encoding: ASCII-8BIT
64
64
  string: !binary |-
65
- H4sIAAAAAAAAAx3NwQqCMBgA4HfZuUDSIrupmVG6GjUXXobaH41is81sEr17
66
- 1vW7fG9U1jUYw1t1A4kWKCSB1819Vuy2ZOofN6Hr+U6i7HKNryd7V8Kje2Ef
67
- kOocGJZu/Mqi5MzJKr9ElKQTW4inLfvDuIrzjuGayipTARqhf8DbvoHfAqUG
68
- PSjYRmgwXAy3O3OczxdTRxmMkQAAAA==
65
+ H4sIAAAAAAAAAx3NwQqCMBgA4HfZOcGQjLqViYnWVNKsy8+Yf7YkXc6sEb17
66
+ 5vW7fB/COEeloGsqrMmSrGMnd6arGRQnHbkJwBnoy2wex0OYWdxDIdk21bGb
67
+ RWWy87H2ZBWolN/pxUYP0u4KuMmD3jcWvbEvwvntWeS0JBMyBtBpif8FWYvt
68
+ oPiWokUFYrgt2zS/P++J3puRAAAA
69
69
  http_version: '1.1'
70
- recorded_at: Fri, 15 Aug 2014 19:54:58 GMT
71
- recorded_with: VCR 2.8.0
70
+ recorded_at: Sat, 22 Nov 2014 00:55:48 GMT
71
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,98 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.spotify.com/v1/browse/featured-playlists?limit=20&offset=0
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ accept:
11
+ - "*/*; q=0.5, application/xml"
12
+ accept-encoding:
13
+ - gzip, deflate
14
+ authorization:
15
+ - Bearer BQCXC1A5_dYyPER__Z_Ow0oqWTLV3cGeipaHUyQEVPgRMIenGpkKsUcmOf6eG_Uth_eDXKvI-9v-NdL7judXOg
16
+ user-agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ server:
24
+ - nginx
25
+ date:
26
+ - Sat, 22 Nov 2014 01:16:06 GMT
27
+ content-type:
28
+ - application/json; charset=utf-8
29
+ transfer-encoding:
30
+ - chunked
31
+ connection:
32
+ - keep-alive
33
+ keep-alive:
34
+ - timeout=600
35
+ vary:
36
+ - Accept-Encoding
37
+ cache-control:
38
+ - private, max-age=0
39
+ access-control-allow-headers:
40
+ - Accept, Authorization, Origin, Content-Type
41
+ access-control-allow-origin:
42
+ - "*"
43
+ access-control-max-age:
44
+ - '604800'
45
+ access-control-allow-methods:
46
+ - GET, POST, OPTIONS, PUT, DELETE
47
+ access-control-allow-credentials:
48
+ - 'true'
49
+ x-content-type-options:
50
+ - nosniff
51
+ strict-transport-security:
52
+ - max-age=31536000;
53
+ content-encoding:
54
+ - gzip
55
+ body:
56
+ encoding: ASCII-8BIT
57
+ string: !binary |-
58
+ H4sIAAAAAAAAA+2bW3PayBKA3/dXqPyQfdmYmdFcNFRtnbJjO7ENWcfGPklO
59
+ nTo1V1AsJCIJDGzlv+9wjQNCnGVJogdepR5193R/1T0X/fmL5x11TZaJtjny
60
+ 6t7Rh6TvKRF7WWRMz4tEbtLj42Pv6LeJYC8SoyjM8mwi+qd74p51UmOnIzt5
61
+ 3svqtZrohcdZL8lDOzpWSbc2gDWZJk+ZqVkj8n5q9Mvld/6Vh055Lrq93xGA
62
+ +CWELxFqAViHtA7oi8TazOS/gxdR2A1zJzI1wykNc9OdGvGfuRnumUqiSMgk
63
+ FXk4mPpiRZSZ2QD32gydK7GI/tdPo2f2Tz83N3fphvMi6Zn4Gzf6mUlrc8Ha
64
+ woEawM2r8VU0/iMZEdka5VdPZ9lD42hqped9WWr/f2ZpoiFbU5Ft0rH8dqin
65
+ hm8w5atY18V4ZdKc7246vgmfC57SsYtcLZwMqFkKfIE5CSiBWCHNCBdWI86x
66
+ ZIAxy5VBgAZ46bP336XKWHRnWXUmYmW8pmkLrxkO51F0ypOn2KRfk2kajJJA
67
+ 7RCqhVnPguG+8rfDsTTZDZ7P9yJpFt66N/moN/N3EsrnQ/ppOJ3k+Zj65H19
68
+ 8YG1ZOn1ZRSqyYC4H0XL2cxToR5XU/dve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85
+ JFBKc1fhfR9Ba2lpj37jVvDG9iPvJhRxcuC7GiW8OGPK+P4ux2QlCP30YzIQ
86
+ nQ4f7z6Rh/GtVaOgPby4PyXn++V7g45VvreK7ca3IYxBhpjwKecWWMU4EVYa
87
+ EjCBLJHYuvrNYfkG25Lvy1iHxjvpytDE+YHzanBenDllnDOw/0692IqK1HGS
88
+ 5qfBIL8HqTnh8BVl9+rtlb9fzjfoWOV8q9hunAcMYp9ZCYCgRqpAS+TOxpQM
89
+ BJVuGx1TjZBgipTW8VbHeHfTu5JNoTphbOrevyeXJjMleu623aFvr0TfXpxB
90
+ Zbz7aP+8F1tRFd7vm5G5zMTbs2vSGH+8lalU79M9816sY433bWK78a4NF9qn
91
+ AkCDJ7fdfGkMdrdesAXSRwgSLN0JuSq/yTpl/YB1Nco4KUyUH451oRUVwRoG
92
+ p5/vXiHVvGtcvksvngYfWqQ92C/WG3SsYr1VbDesLWCBxoEhnHAJ3RKc4oBy
93
+ t/0GLbXA+FJaawMCS8t4w9Xs+d3V2xenB76rwXdxxpTxDb/HerzYjDngi98d
94
+ jqb/qEwuySMwy/yj2P3K8O0t/qPZHy2ThwuhXmoGodvlXRHMl1fufdeIfPnl
95
+ y1+vINZpqjMAAA==
96
+ http_version: '1.1'
97
+ recorded_at: Sat, 22 Nov 2014 01:16:06 GMT
98
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,111 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.spotify.com/v1/browse/featured-playlists?limit=20&offset=0&country=ES&timestamp=2014-10-23T09:00:00
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ accept:
11
+ - "*/*; q=0.5, application/xml"
12
+ accept-encoding:
13
+ - gzip, deflate
14
+ authorization:
15
+ - Bearer BQCXC1A5_dYyPER__Z_Ow0oqWTLV3cGeipaHUyQEVPgRMIenGpkKsUcmOf6eG_Uth_eDXKvI-9v-NdL7judXOg
16
+ user-agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ server:
24
+ - nginx
25
+ date:
26
+ - Sat, 22 Nov 2014 01:16:06 GMT
27
+ content-type:
28
+ - application/json; charset=utf-8
29
+ transfer-encoding:
30
+ - chunked
31
+ connection:
32
+ - keep-alive
33
+ keep-alive:
34
+ - timeout=600
35
+ vary:
36
+ - Accept-Encoding
37
+ cache-control:
38
+ - private, max-age=0
39
+ access-control-allow-headers:
40
+ - Accept, Authorization, Origin, Content-Type
41
+ access-control-allow-origin:
42
+ - "*"
43
+ access-control-max-age:
44
+ - '604800'
45
+ access-control-allow-methods:
46
+ - GET, POST, OPTIONS, PUT, DELETE
47
+ access-control-allow-credentials:
48
+ - 'true'
49
+ x-content-type-options:
50
+ - nosniff
51
+ strict-transport-security:
52
+ - max-age=31536000;
53
+ content-encoding:
54
+ - gzip
55
+ body:
56
+ encoding: ASCII-8BIT
57
+ string: !binary |-
58
+ H4sIAAAAAAAAA+2c3W7bOBaA7+cptAGme9PWJMUfMUCxiPNnp3HSuGmTdLEY
59
+ UPyp5ciSx5LTpIM+wDzGPMBcDOZuLzcvtrST2K4tyR3HbuyBgyIp7COdQ/Kc
60
+ TzzkoX75wXE2WjpJxEe94Ww6GxUhtQORI27/iBNHJ7IrG7e/+aIVJy/tz8bz
61
+ 3gXtUNyEQZImvUt+sZ/Yzxodbfp3aKRpO9kslUQ7eJm04zQwNy9l3CpdwZLf
62
+ iT8lumS0SLsdrV4M7vMvGXejtHPzavftszSw9qSi1X6FAMQvIHiB3FPANwGw
63
+ /57FxiQ6fQWehUErSK1I3yKrP0h1q2/Pv+8tsp/JOAyFH3dEGlz1m2dEmOi7
64
+ C+zX+jrVnUiEP3U74UhT+re7t3zQItuguK2jr1rUTXSndC/4k07a4sdt98cy
65
+ FKWHdpXgiTz/edecgTL5fPRad9qvBXW9jb7FjvNlYMm3dF5PW1KoLsnTN9AT
66
+ qH6DcswairWsO4x1pu0T201fjbAdX6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ofhyr7wmFObHgbznZz/aXojhnc8vtR45/ZTv3U0Z3
100
+ 9hlSVn17sVU/14cX1SoPPIwJrrjDM5SDMPvLE4FMdUkpR9941E8Vm20ugFxE
101
+ qX3yC0GUXf0D0mhFoetroBn0iN2TVBxLXLyNsBf0ThD3zpD29iK/Z9yP9umc
102
+ GPDVLXOnBH2pv+fR0WxPK+IFhfPKGkY7f8iObIuWLYPA707ATrNeAWY3aG/X
103
+ cI35VbSoDCJH2Tg1porNRg1PUGmPlxNb6UQB9bldKxCCKcaxPUQKPbuzALld
104
+ QijOIGq3/7VLB31sbAfRdy2enJiGP3KRMDNB+PqseabIyucQ2f5VyIpFphDZ
105
+ 5jwpKDKf+iUqmUJ7N5VqWD5M22j36nC/flWdQzqRqS7J0zeOixyzHpta2KUF
106
+ bITPjdICuL5n0wmJoSI20WA+t2UMFAIBefEJjdtfr4PUljtZXITCeYBH/8zX
107
+ esqx4tuP2X5XhBFvbhjJnnJkW3RPkoeDiBv9l+L0Xp6BwF2MbET21Shfv+lj
108
+ 4+4VOr0PH4TaHX0VxN3+uz+GrwQZvooD9vKvLz98+T9+g/PALkgAAA==
109
+ http_version: '1.1'
110
+ recorded_at: Sat, 22 Nov 2014 01:16:06 GMT
111
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,77 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.spotify.com/v1/browse/featured-playlists?limit=10&offset=10
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ accept:
11
+ - "*/*; q=0.5, application/xml"
12
+ accept-encoding:
13
+ - gzip, deflate
14
+ authorization:
15
+ - Bearer BQCXC1A5_dYyPER__Z_Ow0oqWTLV3cGeipaHUyQEVPgRMIenGpkKsUcmOf6eG_Uth_eDXKvI-9v-NdL7judXOg
16
+ user-agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ server:
24
+ - nginx
25
+ date:
26
+ - Sat, 22 Nov 2014 01:16:06 GMT
27
+ content-type:
28
+ - application/json; charset=utf-8
29
+ transfer-encoding:
30
+ - chunked
31
+ connection:
32
+ - keep-alive
33
+ keep-alive:
34
+ - timeout=600
35
+ vary:
36
+ - Accept-Encoding
37
+ cache-control:
38
+ - private, max-age=0
39
+ access-control-allow-headers:
40
+ - Accept, Authorization, Origin, Content-Type
41
+ access-control-allow-origin:
42
+ - "*"
43
+ access-control-max-age:
44
+ - '604800'
45
+ access-control-allow-methods:
46
+ - GET, POST, OPTIONS, PUT, DELETE
47
+ access-control-allow-credentials:
48
+ - 'true'
49
+ x-content-type-options:
50
+ - nosniff
51
+ strict-transport-security:
52
+ - max-age=31536000;
53
+ content-encoding:
54
+ - gzip
55
+ body:
56
+ encoding: ASCII-8BIT
57
+ string: !binary |-
58
+ H4sIAAAAAAAAA+1X207cMBB971dYeeAJNnFum42EqkJViRaQykUtrarKdsas
59
+ 1WyS2s5Sivbf63g3gWUvFEQLD7xFzoznnJlzlMnVK4ScEShFzsFBKXLOyhox
60
+ UiCVA1QoJxpkr9dDzmYTWOXkMhdKqyb0ypyYs6EEbjOHWlcqdV1SiZ6qSi34
61
+ ZY+VI3eMXSrLCwUuB6JrCdlWd89rLUxxTUbVtu/hcAvjLd8/8XCK49SLN0rO
62
+ Feht7G3kYiSaB4vDVBUaRhbF1xkOc8bKPCe0lESLsSXDSa5gmmBewy/DpSD5
63
+ 91rmNwjY62Z4Ox6GRllBMcejViDdWaDbMnAjqXeSsT71JLwZ4N24f8oO3weO
64
+ RYnQpKv+N21qKqiFEmpVje5ukVngK6Bch43MkG81zXA37Zibn5keywozOlc0
65
+ CW7Sx2HQ59TzSAyUJRn1WdZnNCEx5QkO48z3SZ9FHWf0rStZkNFUVidDQMdW
66
+ UgeEDUUBKfrUaEsxUhlMXUJ5UYC8VpcdzprBPWB0LcwbwzG33Hs8HWSTPOt/
67
+ K6KWjHmjL6sp/2a0N1NqKWzTZzlp8z5tL1gQT1XTXLAmoajzvGuWloT9uC3l
68
+ ezPptLxKaO6szk1epSZWNYG/ALbj3HrkerrrWKdteLpCx7bQZPOp/X56kMOe
69
+ IodvP0T7v78cUUnZZ/nIfl9eY8Hvd4U9zO8ZDEgWxMTDEGaQhQEFCAMch9yj
70
+ ge/jKKTgZyxc63fr9RdbPxNbLxXKf7f1UhRTFT25rXGy8/N412cHx/t7H+W7
71
+ i/HZSXQ+flxbr6hx29Z3hj3M1tzrJ1mYQDSIBhQzlsVhEg/8MMI85h4ElHLO
72
+ kwivtfW++WajQ3E+1OhoY+fF38/D38sVs87fOEwe/7u9HMbM4O1S6NhNvlkd
73
+ sDdVvlOYBW9+t3Gmi/9cVCVhLMrarjv/8F9j8VdDt7sODkzPJq8mfwBR3ATe
74
+ NA0AAA==
75
+ http_version: '1.1'
76
+ recorded_at: Sat, 22 Nov 2014 01:16:06 GMT
77
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,98 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.spotify.com/v1/browse/featured-playlists?limit=20&offset=0&locale=es_MX
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ accept:
11
+ - "*/*; q=0.5, application/xml"
12
+ accept-encoding:
13
+ - gzip, deflate
14
+ authorization:
15
+ - Bearer BQCXC1A5_dYyPER__Z_Ow0oqWTLV3cGeipaHUyQEVPgRMIenGpkKsUcmOf6eG_Uth_eDXKvI-9v-NdL7judXOg
16
+ user-agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ server:
24
+ - nginx
25
+ date:
26
+ - Sat, 22 Nov 2014 01:16:06 GMT
27
+ content-type:
28
+ - application/json; charset=utf-8
29
+ transfer-encoding:
30
+ - chunked
31
+ connection:
32
+ - keep-alive
33
+ keep-alive:
34
+ - timeout=600
35
+ vary:
36
+ - Accept-Encoding
37
+ cache-control:
38
+ - private, max-age=0
39
+ access-control-allow-headers:
40
+ - Accept, Authorization, Origin, Content-Type
41
+ access-control-allow-origin:
42
+ - "*"
43
+ access-control-max-age:
44
+ - '604800'
45
+ access-control-allow-methods:
46
+ - GET, POST, OPTIONS, PUT, DELETE
47
+ access-control-allow-credentials:
48
+ - 'true'
49
+ x-content-type-options:
50
+ - nosniff
51
+ strict-transport-security:
52
+ - max-age=31536000;
53
+ content-encoding:
54
+ - gzip
55
+ body:
56
+ encoding: ASCII-8BIT
57
+ string: !binary |-
58
+ H4sIAAAAAAAAA+2bS3PbNhCA7/0VHB/SS2MBIB6EZjIdO7YT21Lq2LKbpNPp
59
+ 4CkzpkiFpGRJnfz3Qs84EkW1qpLwoCu54O5i95tdPPj3T5530DFZJtrmwKt7
60
+ B++TnqdE7GWRMV0vErlJDw8PvYNfxoLdSAyjMMuzsejf7ol7dp8aOxl5n+fd
61
+ rF6riW54mHWTPLTDQ5V0an1Yk2nymJmaNSLvpUY/X3zn1yhRIjIvTPZX892z
62
+ PHSW5KLTfYEAxM8hfI5QC8A6pHVAnyXWZiZ/AZ5FYSfMncjEJmdBmJvOxKI/
63
+ Zja5ZyqJIiGTVORhf+KYFVFmpgPcazNwfsUi+quXRk+cmXxuZvvCJ+dS0jXx
64
+ Vz71MpPWZoK1uTc1gJsXo4to9FsyJLI1zC8eT7K7xsHESs/7vND+b6ZsrCFb
65
+ UZGt07H4dqgnhq8x5YtYxwV8adKc7246voqli6TSsQtjLRwPqFkKfIE5CSiB
66
+ WCHNCBdWI86xZIAxy5VBgAZ44bP350JlLDrTFDsRsTJe07SF1wwHsyg65clj
67
+ bNIvmTUJRkmgtgjV3KwnwXBf+c/hWJjsBs/me540c2/dm3zYnfo7DuXTIb00
68
+ nEzybEx9/L4+/8BKsnR7MgrVeEDci6LFbOapUA/LqfufPVnk7rrEqs30PPUr
69
+ ycUkS2CAVqxdOD2H4kt4y9yuz8XraxJ3oujzLz8YcJp/etsR9/qudckbHxj5
70
+ 1HnsYrlbwNfoWAZ8o9h2gAOGNaBWG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
87
+ n3JugVWME2GlIQETyBKJravfHJZvsC34Po91aLyjjgxNnO85rwbnxZlTxjkD
88
+ u+/Ui62oSB0naX4c9PNbkJojDl9SdqveXPi75XyNjmXON4ptx3nAIPaZlQAI
89
+ aqQKtETubEzJQFDpttEx1QgJpkhpHW/dG+9mcnGyKdR9GJu69/v4BmWmRNfd
90
+ ttv37ZXo24szqIx3H+2e92IrqsL7bTMy55l4c3JJGqMP1zKV6l26Y96Ldazw
91
+ vklsO9614UL7VABo8Pi2my+Nwe7WC7ZA+ghBgqU7IVflN1knrO+xrkYZJ4WJ
92
+ 8t2xLrSiIljD4PjTzUukmjeN87fp2WP/fYu0+7vFeo2OZaw3im2HtQUs0Dgw
93
+ hBMuoVuCUxxQ7rbfoKUWGF9Ka21AYGkZb7iaPbu7ev3seM93NfguzpgyvuG3
94
+ WI8XmzEDfP67w8HkH5XxJXkEppl/ELtfGb6+xX8w/aNl/HAu1E1NP3S7vEuC
95
+ +eLKve8akc8/ff4H3KaDzbczAAA=
96
+ http_version: '1.1'
97
+ recorded_at: Sat, 22 Nov 2014 01:16:06 GMT
98
+ recorded_with: VCR 2.9.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://api.spotify.com/v1/search?q=Wanna+Know&type=track&limit=20&offset=0
5
+ uri: https://api.spotify.com/v1/search?q=Wanna%20Know&type=track&limit=20&offset=0
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''