echonest-ruby-api 0.1.2 → 0.1.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.
- data/CONTRIBUTING.md +11 -0
- data/README.md +7 -6
- data/echonest-ruby-api.gemspec +2 -0
- data/fixtures/vcr_cassettes/biographies.yml +697 -0
- data/fixtures/vcr_cassettes/blogs.yml +86 -0
- data/fixtures/vcr_cassettes/familiarity.yml +50 -0
- data/fixtures/vcr_cassettes/hotttnesss.yml +50 -0
- data/fixtures/vcr_cassettes/images.yml +78 -0
- data/fixtures/vcr_cassettes/invalid_api_key_error.yml +33 -0
- data/fixtures/vcr_cassettes/list_genres.yml +177 -0
- data/fixtures/vcr_cassettes/playlist.yml +49 -0
- data/fixtures/vcr_cassettes/playlist_next.yml +96 -0
- data/fixtures/vcr_cassettes/playlist_next_2.yml +144 -0
- data/fixtures/vcr_cassettes/search.yml +53 -0
- data/fixtures/vcr_cassettes/search_2.yml +54 -0
- data/fixtures/vcr_cassettes/single_biography.yml +52 -0
- data/fixtures/vcr_cassettes/song_identify.yml +51 -0
- data/fixtures/vcr_cassettes/song_search.yml +70 -0
- data/fixtures/vcr_cassettes/song_search_slow.yml +111 -0
- data/fixtures/vcr_cassettes/songs.yml +62 -0
- data/fixtures/vcr_cassettes/ten_blogs.yml +274 -0
- data/lib/echonest-ruby-api.rb +1 -0
- data/lib/echonest-ruby-api/artist.rb +14 -5
- data/lib/echonest-ruby-api/foreign_id.rb +18 -0
- data/lib/echonest-ruby-api/playlist.rb +30 -0
- data/lib/echonest-ruby-api/version.rb +1 -1
- data/spec/artist_spec.rb +86 -31
- data/spec/foreign_id_spec.rb +15 -0
- data/spec/playlist_spec.rb +47 -0
- data/spec/song_spec.rb +23 -19
- data/spec/spec_helper.rb +9 -0
- metadata +59 -2
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: http://developer.echonest.com/api/v4/artist/blogs?api_key=BNOAEBT3IZYZI6WXI&format=json&name=Weezer&results=1
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers: {}
|
|
10
|
+
response:
|
|
11
|
+
status:
|
|
12
|
+
code: 200
|
|
13
|
+
message: !binary |-
|
|
14
|
+
T0s=
|
|
15
|
+
headers:
|
|
16
|
+
!binary "RGF0ZQ==":
|
|
17
|
+
- !binary |-
|
|
18
|
+
RnJpLCAyMiBGZWIgMjAxMyAyMDo1ODoxNSBHTVQ=
|
|
19
|
+
!binary "Q29udGVudC1UeXBl":
|
|
20
|
+
- !binary |-
|
|
21
|
+
YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
|
|
22
|
+
!binary "Q29ubmVjdGlvbg==":
|
|
23
|
+
- !binary |-
|
|
24
|
+
a2VlcC1hbGl2ZQ==
|
|
25
|
+
!binary "VmFyeQ==":
|
|
26
|
+
- !binary |-
|
|
27
|
+
QWNjZXB0LUVuY29kaW5n
|
|
28
|
+
!binary "WC1SZXF1ZXN0LUlk":
|
|
29
|
+
- !binary |-
|
|
30
|
+
Wi9iSlpkVFdRdEdmNEVwODMxOVJMUQ==
|
|
31
|
+
!binary "RXRhZw==":
|
|
32
|
+
- !binary |-
|
|
33
|
+
IjZiZDY4MTY0ZTJhZGZkYjFmMTk4MDk0Y2I4MzVjZTljYjJhNzQxYjki
|
|
34
|
+
!binary "WC1Xb3JrZXItTm9kZQ==":
|
|
35
|
+
- !binary |-
|
|
36
|
+
N2Q5OGM6MjQ1MTU=
|
|
37
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
|
38
|
+
- !binary |-
|
|
39
|
+
MTAyNw==
|
|
40
|
+
!binary "WC1SYXRlbGltaXQtUmVtYWluaW5n":
|
|
41
|
+
- !binary |-
|
|
42
|
+
MjA=
|
|
43
|
+
!binary "U2VydmVy":
|
|
44
|
+
- !binary |-
|
|
45
|
+
VG9ybmFkb1NlcnZlci8yLjQuMQ==
|
|
46
|
+
!binary "WC1SYXRlbGltaXQtTGltaXQ=":
|
|
47
|
+
- !binary |-
|
|
48
|
+
MjA=
|
|
49
|
+
!binary "Q2FjaGUtQ29udHJvbA==":
|
|
50
|
+
- !binary |-
|
|
51
|
+
bWF4LWFnZT04NjQwMA==
|
|
52
|
+
!binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
|
|
53
|
+
- !binary |-
|
|
54
|
+
Kg==
|
|
55
|
+
!binary "WC1SYXRlbGltaXQtVXNlZA==":
|
|
56
|
+
- !binary |-
|
|
57
|
+
MQ==
|
|
58
|
+
body:
|
|
59
|
+
encoding: ASCII-8BIT
|
|
60
|
+
string: !binary |-
|
|
61
|
+
eyJyZXNwb25zZSI6IHsic3RhdHVzIjogeyJ2ZXJzaW9uIjogIjQuMiIsICJj
|
|
62
|
+
b2RlIjogMCwgIm1lc3NhZ2UiOiAiU3VjY2VzcyJ9LCAic3RhcnQiOiAwLCAi
|
|
63
|
+
dG90YWwiOiAyMjA0LCAiYmxvZ3MiOiBbeyJuYW1lIjogIlRoZSBEaXJ0eSBO
|
|
64
|
+
aWwgLyBOb3J0aGVybiBQcmltaXRpdmUgIFNwbGl0IDfigJ0iLCAidXJsIjog
|
|
65
|
+
Imh0dHA6Ly9yaXBwbGVtdXNpYy5ibG9nc3BvdC5jb20vMjAxMy8wMi90aGUt
|
|
66
|
+
ZGlydHktbmlsLW5vcnRoZXJuLXByaW1pdGl2ZS1zcGxpdC03Lmh0bWwiLCAi
|
|
67
|
+
c3VtbWFyeSI6ICJ3aXRoIE5vcnRoZXJuIFByaW1pdGl2ZSBhbmQgSSdtIHNv
|
|
68
|
+
bGQuIFdvdyEgSnVzdCB3b3chIFRoZSBzb25nIGlzIGNhbGxlZCAnWm9tYmll
|
|
69
|
+
IEV5ZWQnLCBhbmQgSSdtIGNvbnZpbmNlZCBpdCBoYXMgdGhlIHBvd2VyIHRv
|
|
70
|
+
IGJyaW5nIGFueSBwZXJzb24gem9tYmlmaWVkIGJlZm9yZSB0aGUgYWdlIG9m
|
|
71
|
+
IGZvcnR5IGJhY2sgdG8gbGlmZS4gV2hhdCBkb2VzIGl0IHNvdW5kIGxpa2U/
|
|
72
|
+
IEltYWdpbmUgYSBzY3V6enksIHNsaWdodGx5IHNwZWQgdXAgdmVyc2lvbiBv
|
|
73
|
+
ZiBTbWFzaGluZyBQdW1wa2lucyAnVG9kYXknIHBsYXllZCBieSA8c3Bhbj5X
|
|
74
|
+
ZWV6ZXI8L3NwYW4+LiBUaGVuIGFkZCBtYXNzaXZlIGFtb3VudHMgb2YgYWRk
|
|
75
|
+
aXRpb25hbCBndWl0YXIgZGlzdG9ydGlvbiBhbmQgYSBkZXJhbmdlZCBsZWFk
|
|
76
|
+
IHNpbmdlciB3aG8gc291bmRzIGFzIGlmIGhlIGlzIHRyeWluZyB0byBtZWxv
|
|
77
|
+
ZGljYWxseSBwdXJnZSBhbGwgb2YgdGhlIGFuZ3Vpc2ggc3RvcmVkIGluc2lk
|
|
78
|
+
ZSBoaXMgYm9keSBpbiBvbmUgZm91ciBtaW51dGUgc29uZy4gSW4gY2FzZSB5
|
|
79
|
+
b3Ugd2VyZSB3b25kZXJpbmcsIGl0IHNvdW5kcyBhYnNvbHV0ZWx5IGZhbnRh
|
|
80
|
+
c3RpYyEgVGhhbmtzIHRvIGJhbmRjYW1wIEkndmUgbGlzdGVuZWQgdG8gdGhl
|
|
81
|
+
IHJlc3QiLCAiZGF0ZV9mb3VuZCI6ICIyMDEzLTAyLTIyVDAwOjU0OjE0Iiwg
|
|
82
|
+
ImlkIjogIjliZTA5ZGYxNjIwODA0YTA3MjIwNjkxZGIzY2EwZGI4IiwgImRh
|
|
83
|
+
dGVfcG9zdGVkIjogIjIwMTMtMDItMjFUMDg6MzA6MDIifV19fQ==
|
|
84
|
+
http_version:
|
|
85
|
+
recorded_at: Fri, 22 Feb 2013 20:58:16 GMT
|
|
86
|
+
recorded_with: VCR 2.4.0
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: http://developer.echonest.com/api/v4/artist/familiarity?api_key=BNOAEBT3IZYZI6WXI&format=json&name=Weezer
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers: {}
|
|
10
|
+
response:
|
|
11
|
+
status:
|
|
12
|
+
code: 200
|
|
13
|
+
message: OK
|
|
14
|
+
headers:
|
|
15
|
+
Date:
|
|
16
|
+
- Sat, 23 Feb 2013 13:04:24 GMT
|
|
17
|
+
Content-Type:
|
|
18
|
+
- application/json; charset=utf-8
|
|
19
|
+
Connection:
|
|
20
|
+
- keep-alive
|
|
21
|
+
Vary:
|
|
22
|
+
- Accept-Encoding
|
|
23
|
+
X-Request-Id:
|
|
24
|
+
- N18FKKMzQyWDUu7qAIoyqg
|
|
25
|
+
Etag:
|
|
26
|
+
- ! '"b70ed2a5ccc81374f42b977ea98ab6f36f06b0e1"'
|
|
27
|
+
X-Worker-Node:
|
|
28
|
+
- 1eef6:12417
|
|
29
|
+
Content-Length:
|
|
30
|
+
- '171'
|
|
31
|
+
X-Ratelimit-Remaining:
|
|
32
|
+
- '20'
|
|
33
|
+
Server:
|
|
34
|
+
- TornadoServer/2.4.1
|
|
35
|
+
X-Ratelimit-Limit:
|
|
36
|
+
- '20'
|
|
37
|
+
Cache-Control:
|
|
38
|
+
- max-age=86400
|
|
39
|
+
Access-Control-Allow-Origin:
|
|
40
|
+
- ! '*'
|
|
41
|
+
X-Ratelimit-Used:
|
|
42
|
+
- '1'
|
|
43
|
+
body:
|
|
44
|
+
encoding: US-ASCII
|
|
45
|
+
string: ! '{"response": {"status": {"version": "4.2", "code": 0, "message":
|
|
46
|
+
"Success"}, "artist": {"familiarity": 0.89805400000000002, "id": "AR633SY1187B9AC3B9",
|
|
47
|
+
"name": "Weezer"}}}'
|
|
48
|
+
http_version:
|
|
49
|
+
recorded_at: Sat, 23 Feb 2013 13:04:27 GMT
|
|
50
|
+
recorded_with: VCR 2.4.0
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: http://developer.echonest.com/api/v4/artist/hotttnesss?api_key=BNOAEBT3IZYZI6WXI&format=json&name=Weezer
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers: {}
|
|
10
|
+
response:
|
|
11
|
+
status:
|
|
12
|
+
code: 200
|
|
13
|
+
message: OK
|
|
14
|
+
headers:
|
|
15
|
+
Date:
|
|
16
|
+
- Sat, 23 Feb 2013 13:05:46 GMT
|
|
17
|
+
Content-Type:
|
|
18
|
+
- application/json; charset=utf-8
|
|
19
|
+
Connection:
|
|
20
|
+
- keep-alive
|
|
21
|
+
Vary:
|
|
22
|
+
- Accept-Encoding
|
|
23
|
+
X-Request-Id:
|
|
24
|
+
- MOIIYqqCTpW0LxylRaQ7wA
|
|
25
|
+
Etag:
|
|
26
|
+
- ! '"5826c5479542eca3a88f60adc26bf81874f65939"'
|
|
27
|
+
X-Worker-Node:
|
|
28
|
+
- c125c:9835
|
|
29
|
+
Content-Length:
|
|
30
|
+
- '170'
|
|
31
|
+
X-Ratelimit-Remaining:
|
|
32
|
+
- '20'
|
|
33
|
+
Server:
|
|
34
|
+
- TornadoServer/2.4.1
|
|
35
|
+
X-Ratelimit-Limit:
|
|
36
|
+
- '20'
|
|
37
|
+
Cache-Control:
|
|
38
|
+
- max-age=86400
|
|
39
|
+
Access-Control-Allow-Origin:
|
|
40
|
+
- ! '*'
|
|
41
|
+
X-Ratelimit-Used:
|
|
42
|
+
- '1'
|
|
43
|
+
body:
|
|
44
|
+
encoding: US-ASCII
|
|
45
|
+
string: ! '{"response": {"status": {"version": "4.2", "code": 0, "message":
|
|
46
|
+
"Success"}, "artist": {"hotttnesss": 0.53242500000000004, "id": "AR633SY1187B9AC3B9",
|
|
47
|
+
"name": "Weezer"}}}'
|
|
48
|
+
http_version:
|
|
49
|
+
recorded_at: Sat, 23 Feb 2013 13:05:49 GMT
|
|
50
|
+
recorded_with: VCR 2.4.0
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: http://developer.echonest.com/api/v4/artist/images?api_key=BNOAEBT3IZYZI6WXI&format=json&name=Weezer
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers: {}
|
|
10
|
+
response:
|
|
11
|
+
status:
|
|
12
|
+
code: 200
|
|
13
|
+
message: OK
|
|
14
|
+
headers:
|
|
15
|
+
Date:
|
|
16
|
+
- Sat, 23 Feb 2013 13:06:16 GMT
|
|
17
|
+
Content-Type:
|
|
18
|
+
- application/json; charset=utf-8
|
|
19
|
+
Connection:
|
|
20
|
+
- keep-alive
|
|
21
|
+
Vary:
|
|
22
|
+
- Accept-Encoding
|
|
23
|
+
X-Request-Id:
|
|
24
|
+
- JqnS9DQcTTStsd0ISZ32oQ
|
|
25
|
+
Etag:
|
|
26
|
+
- ! '"5a8042a15d413c7f6a6f7b3c62e14a4508e93f63"'
|
|
27
|
+
X-Worker-Node:
|
|
28
|
+
- 4dfa3:20562
|
|
29
|
+
Content-Length:
|
|
30
|
+
- '2868'
|
|
31
|
+
X-Ratelimit-Remaining:
|
|
32
|
+
- '20'
|
|
33
|
+
Server:
|
|
34
|
+
- TornadoServer/2.4.1
|
|
35
|
+
X-Ratelimit-Limit:
|
|
36
|
+
- '20'
|
|
37
|
+
Cache-Control:
|
|
38
|
+
- max-age=86400
|
|
39
|
+
Access-Control-Allow-Origin:
|
|
40
|
+
- ! '*'
|
|
41
|
+
X-Ratelimit-Used:
|
|
42
|
+
- '1'
|
|
43
|
+
body:
|
|
44
|
+
encoding: US-ASCII
|
|
45
|
+
string: ! '{"response": {"status": {"version": "4.2", "code": 0, "message":
|
|
46
|
+
"Success"}, "start": 0, "total": 257, "images": [{"url": "http://upload.wikimedia.org/wikipedia/commons/2/2b/Weezer.jpg",
|
|
47
|
+
"license": {"type": "cc-by-sa", "attribution": "ryanwh / ryan", "url": "http://en.wikipedia.org/wiki/File:Weezer.jpg"}},
|
|
48
|
+
{"url": "http://upload.wikimedia.org/wikipedia/commons/thumb/b/bf/Weezer_2005.jpg/800px-Weezer_2005.jpg",
|
|
49
|
+
"license": {"type": "cc-by", "attribution": "James from Somerville, USA",
|
|
50
|
+
"url": "http://en.wikipedia.org/wiki/File:Weezer_2005.jpg"}}, {"url": "http://upload.wikimedia.org/wikipedia/commons/thumb/f/f2/Weezer_2009.jpg/399px-Weezer_2009.jpg",
|
|
51
|
+
"license": {"type": "cc-by-sa", "attribution": "Green Up Music", "url": "http://en.wikipedia.org/wiki/File:Weezer_2009.jpg"}},
|
|
52
|
+
{"url": "http://userserve-ak.last.fm/serve/_/279528.jpg", "license": {"type":
|
|
53
|
+
"unknown", "attribution": "last.fm", "url": "http://userserve-ak.last.fm/serve/_/279528.jpg"}},
|
|
54
|
+
{"url": "http://userserve-ak.last.fm/serve/_/431014.jpg", "license": {"type":
|
|
55
|
+
"unknown", "attribution": "last.fm", "url": "http://userserve-ak.last.fm/serve/_/431014.jpg"}},
|
|
56
|
+
{"url": "http://userserve-ak.last.fm/serve/_/93147.jpg", "license": {"type":
|
|
57
|
+
"unknown", "attribution": "last.fm", "url": "http://userserve-ak.last.fm/serve/_/93147.jpg"}},
|
|
58
|
+
{"url": "http://userserve-ak.last.fm/serve/_/131510.jpg", "license": {"type":
|
|
59
|
+
"unknown", "attribution": "last.fm", "url": "http://userserve-ak.last.fm/serve/_/131510.jpg"}},
|
|
60
|
+
{"url": "http://userserve-ak.last.fm/serve/_/277801.jpg", "license": {"type":
|
|
61
|
+
"unknown", "attribution": "last.fm", "url": "http://userserve-ak.last.fm/serve/_/277801.jpg"}},
|
|
62
|
+
{"url": "http://userserve-ak.last.fm/serve/_/252260.jpg", "license": {"type":
|
|
63
|
+
"unknown", "attribution": "last.fm", "url": "http://userserve-ak.last.fm/serve/_/252260.jpg"}},
|
|
64
|
+
{"url": "http://userserve-ak.last.fm/serve/_/268073.jpg", "license": {"type":
|
|
65
|
+
"unknown", "attribution": "last.fm", "url": "http://userserve-ak.last.fm/serve/_/268073.jpg"}},
|
|
66
|
+
{"url": "http://userserve-ak.last.fm/serve/_/268537.png", "license": {"type":
|
|
67
|
+
"unknown", "attribution": "last.fm", "url": "http://userserve-ak.last.fm/serve/_/268537.png"}},
|
|
68
|
+
{"url": "http://userserve-ak.last.fm/serve/_/73183.jpg", "license": {"type":
|
|
69
|
+
"unknown", "attribution": "last.fm", "url": "http://userserve-ak.last.fm/serve/_/73183.jpg"}},
|
|
70
|
+
{"url": "http://userserve-ak.last.fm/serve/_/278070.jpg", "license": {"type":
|
|
71
|
+
"unknown", "attribution": "last.fm", "url": "http://userserve-ak.last.fm/serve/_/278070.jpg"}},
|
|
72
|
+
{"url": "http://userserve-ak.last.fm/serve/_/150394.jpg", "license": {"type":
|
|
73
|
+
"unknown", "attribution": "last.fm", "url": "http://userserve-ak.last.fm/serve/_/150394.jpg"}},
|
|
74
|
+
{"url": "http://userserve-ak.last.fm/serve/_/268537.jpg", "license": {"type":
|
|
75
|
+
"unknown", "attribution": "last.fm", "url": "http://userserve-ak.last.fm/serve/_/268537.jpg"}}]}}'
|
|
76
|
+
http_version:
|
|
77
|
+
recorded_at: Sat, 23 Feb 2013 13:06:23 GMT
|
|
78
|
+
recorded_with: VCR 2.4.0
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: http://developer.echonest.com/api/v4/artist/biographies?api_key=Weezer&format=json&name=THISISNOTAKEY&results=1
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers: {}
|
|
10
|
+
response:
|
|
11
|
+
status:
|
|
12
|
+
code: 400
|
|
13
|
+
message: Bad Request
|
|
14
|
+
headers:
|
|
15
|
+
Date:
|
|
16
|
+
- Fri, 22 Feb 2013 20:56:39 GMT
|
|
17
|
+
Content-Type:
|
|
18
|
+
- application/json; charset=utf-8
|
|
19
|
+
Connection:
|
|
20
|
+
- keep-alive
|
|
21
|
+
X-Request-Id:
|
|
22
|
+
- sexj1QlATCuvIPQK1vPEpw
|
|
23
|
+
Content-Length:
|
|
24
|
+
- '134'
|
|
25
|
+
Server:
|
|
26
|
+
- TornadoServer/2.4.1
|
|
27
|
+
body:
|
|
28
|
+
encoding: US-ASCII
|
|
29
|
+
string: ! '{"response": {"status": {"version": "4.2", "code": 1, "message":
|
|
30
|
+
"api_key - Invalid key: \"Weezer\" is not a valid, active api key"}}}'
|
|
31
|
+
http_version:
|
|
32
|
+
recorded_at: Fri, 22 Feb 2013 20:56:40 GMT
|
|
33
|
+
recorded_with: VCR 2.4.0
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: http://developer.echonest.com/api/v4/artist/list_genres?api_key=BNOAEBT3IZYZI6WXI&format=json
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers: {}
|
|
10
|
+
response:
|
|
11
|
+
status:
|
|
12
|
+
code: 200
|
|
13
|
+
message: OK
|
|
14
|
+
headers:
|
|
15
|
+
Date:
|
|
16
|
+
- Sat, 23 Feb 2013 13:07:43 GMT
|
|
17
|
+
Content-Type:
|
|
18
|
+
- application/json; charset=utf-8
|
|
19
|
+
Connection:
|
|
20
|
+
- keep-alive
|
|
21
|
+
Vary:
|
|
22
|
+
- Accept-Encoding
|
|
23
|
+
X-Request-Id:
|
|
24
|
+
- NJB7/Tg7QdyYFKvD23uhiA
|
|
25
|
+
Etag:
|
|
26
|
+
- ! '"7a30794ee60f06356de8ecfa7cb95c06d4eefa96"'
|
|
27
|
+
X-Worker-Node:
|
|
28
|
+
- 4dfa3:21282
|
|
29
|
+
Content-Length:
|
|
30
|
+
- '10101'
|
|
31
|
+
X-Ratelimit-Remaining:
|
|
32
|
+
- '20'
|
|
33
|
+
Server:
|
|
34
|
+
- TornadoServer/2.4.1
|
|
35
|
+
X-Ratelimit-Limit:
|
|
36
|
+
- '20'
|
|
37
|
+
Cache-Control:
|
|
38
|
+
- max-age=86400
|
|
39
|
+
Access-Control-Allow-Origin:
|
|
40
|
+
- ! '*'
|
|
41
|
+
X-Ratelimit-Used:
|
|
42
|
+
- '1'
|
|
43
|
+
body:
|
|
44
|
+
encoding: US-ASCII
|
|
45
|
+
string: ! '{"response": {"status": {"version": "4.2", "code": 0, "message":
|
|
46
|
+
"Success"}, "genres": [{"name": "a cappella"}, {"name": "acid house"}, {"name":
|
|
47
|
+
"acid jazz"}, {"name": "acoustic blues"}, {"name": "afrobeat"}, {"name": "album
|
|
48
|
+
rock"}, {"name": "alternative country"}, {"name": "alternative dance"}, {"name":
|
|
49
|
+
"alternative hip hop"}, {"name": "alternative metal"}, {"name": "alternative
|
|
50
|
+
rock"}, {"name": "ambient"}, {"name": "anti-folk"}, {"name": "art rock"},
|
|
51
|
+
{"name": "atmospheric black metal"}, {"name": "australian hip hop"}, {"name":
|
|
52
|
+
"avant-garde"}, {"name": "avant-garde jazz"}, {"name": "avantgarde metal"},
|
|
53
|
+
{"name": "bachata"}, {"name": "baile funk"}, {"name": "banda"}, {"name": "bass
|
|
54
|
+
music"}, {"name": "bebop"}, {"name": "bhangra"}, {"name": "big band"}, {"name":
|
|
55
|
+
"big beat"}, {"name": "black metal"}, {"name": "blue-eyed soul"}, {"name":
|
|
56
|
+
"bluegrass"}, {"name": "blues"}, {"name": "blues-rock"}, {"name": "bolero"},
|
|
57
|
+
{"name": "boogaloo"}, {"name": "boogie-woogie"}, {"name": "bossa nova"}, {"name":
|
|
58
|
+
"brass band"}, {"name": "brazilian pop music"}, {"name": "breakbeat"}, {"name":
|
|
59
|
+
"breakcore"}, {"name": "brill building pop"}, {"name": "british blues"}, {"name":
|
|
60
|
+
"british folk"}, {"name": "british invasion"}, {"name": "british pop"}, {"name":
|
|
61
|
+
"broken beat"}, {"name": "brutal death metal"}, {"name": "bubblegum dance"},
|
|
62
|
+
{"name": "bubblegum pop"}, {"name": "cabaret"}, {"name": "calypso"}, {"name":
|
|
63
|
+
"canterbury scene"}, {"name": "ccm"}, {"name": "celtic"}, {"name": "celtic
|
|
64
|
+
rock"}, {"name": "chamber pop"}, {"name": "chanson"}, {"name": "chicago blues"},
|
|
65
|
+
{"name": "chicago house"}, {"name": "chicago soul"}, {"name": "children''s
|
|
66
|
+
music"}, {"name": "chill-out"}, {"name": "chillwave"}, {"name": "chiptune"},
|
|
67
|
+
{"name": "choro"}, {"name": "chorus"}, {"name": "christian alternative rock"},
|
|
68
|
+
{"name": "christian hardcore"}, {"name": "christian hip hop"}, {"name": "christian
|
|
69
|
+
metal"}, {"name": "christian music"}, {"name": "christian punk"}, {"name":
|
|
70
|
+
"christian rock"}, {"name": "classic rock"}, {"name": "classical"}, {"name":
|
|
71
|
+
"comedy"}, {"name": "contemporary country"}, {"name": "cool jazz"}, {"name":
|
|
72
|
+
"country"}, {"name": "country blues"}, {"name": "country gospel"}, {"name":
|
|
73
|
+
"country rock"}, {"name": "cowpunk"}, {"name": "crossover thrash"}, {"name":
|
|
74
|
+
"crunk"}, {"name": "crust punk"}, {"name": "cumbia"}, {"name": "dance pop"},
|
|
75
|
+
{"name": "dance rock"}, {"name": "dance-punk"}, {"name": "dancehall"}, {"name":
|
|
76
|
+
"dark ambient"}, {"name": "dark wave"}, {"name": "death core"}, {"name": "death
|
|
77
|
+
metal"}, {"name": "deathgrind"}, {"name": "deep house"}, {"name": "delta blues"},
|
|
78
|
+
{"name": "desi"}, {"name": "detroit techno"}, {"name": "digital hardcore"},
|
|
79
|
+
{"name": "dirty south rap"}, {"name": "disco"}, {"name": "disco house"}, {"name":
|
|
80
|
+
"djent"}, {"name": "doo-wop"}, {"name": "doom metal"}, {"name": "downtempo"},
|
|
81
|
+
{"name": "dream pop"}, {"name": "drone"}, {"name": "drum and bass"}, {"name":
|
|
82
|
+
"dub"}, {"name": "dubstep"}, {"name": "dutch rock"}, {"name": "early music"},
|
|
83
|
+
{"name": "east coast hip hop"}, {"name": "easy listening"}, {"name": "ebm"},
|
|
84
|
+
{"name": "electric blues"}, {"name": "electro"}, {"name": "electro-industrial"},
|
|
85
|
+
{"name": "electroclash"}, {"name": "electronic"}, {"name": "emo"}, {"name":
|
|
86
|
+
"eurobeat"}, {"name": "eurodance"}, {"name": "europop"}, {"name": "exotica"},
|
|
87
|
+
{"name": "experimental"}, {"name": "experimental rock"}, {"name": "fado"},
|
|
88
|
+
{"name": "filmi"}, {"name": "flamenco"}, {"name": "folk"}, {"name": "folk
|
|
89
|
+
metal"}, {"name": "folk punk"}, {"name": "folk rock"}, {"name": "folk-pop"},
|
|
90
|
+
{"name": "freak folk"}, {"name": "freakbeat"}, {"name": "free improvisation"},
|
|
91
|
+
{"name": "free jazz"}, {"name": "freestyle"}, {"name": "funeral doom"}, {"name":
|
|
92
|
+
"funk"}, {"name": "funk metal"}, {"name": "funk rock"}, {"name": "futurepop"},
|
|
93
|
+
{"name": "g funk"}, {"name": "gabba"}, {"name": "game"}, {"name": "gangster
|
|
94
|
+
rap"}, {"name": "garage rock"}, {"name": "german pop"}, {"name": "glam metal"},
|
|
95
|
+
{"name": "glam rock"}, {"name": "glitch"}, {"name": "goregrind"}, {"name":
|
|
96
|
+
"gospel"}, {"name": "gothic metal"}, {"name": "gothic rock"}, {"name": "gothic
|
|
97
|
+
symphonic metal"}, {"name": "grime"}, {"name": "grindcore"}, {"name": "groove
|
|
98
|
+
metal"}, {"name": "grunge"}, {"name": "gypsy jazz"}, {"name": "happy hardcore"},
|
|
99
|
+
{"name": "hard bop"}, {"name": "hard house"}, {"name": "hard rock"}, {"name":
|
|
100
|
+
"hard trance"}, {"name": "hardcore"}, {"name": "hardcore hip hop"}, {"name":
|
|
101
|
+
"hardcore techno"}, {"name": "hardstyle"}, {"name": "harmonica blues"}, {"name":
|
|
102
|
+
"hi nrg"}, {"name": "highlife"}, {"name": "hip hop"}, {"name": "hip house"},
|
|
103
|
+
{"name": "horror punk"}, {"name": "house"}, {"name": "hyphy"}, {"name": "icelandic
|
|
104
|
+
pop"}, {"name": "illbient"}, {"name": "indian classical"}, {"name": "indie
|
|
105
|
+
folk"}, {"name": "indie pop"}, {"name": "indie rock"}, {"name": "indietronica"},
|
|
106
|
+
{"name": "industrial"}, {"name": "industrial metal"}, {"name": "industrial
|
|
107
|
+
rock"}, {"name": "intelligent dance music"}, {"name": "irish folk"}, {"name":
|
|
108
|
+
"italian disco"}, {"name": "j pop"}, {"name": "j rock"}, {"name": "jam band"},
|
|
109
|
+
{"name": "jangle pop"}, {"name": "japanoise"}, {"name": "jazz"}, {"name":
|
|
110
|
+
"jazz blues"}, {"name": "jazz funk"}, {"name": "jazz fusion"}, {"name": "judaica"},
|
|
111
|
+
{"name": "jug band"}, {"name": "juggalo"}, {"name": "jump blues"}, {"name":
|
|
112
|
+
"jungle music"}, {"name": "k pop"}, {"name": "kiwi rock"}, {"name": "klezmer"},
|
|
113
|
+
{"name": "kompa"}, {"name": "kraut rock"}, {"name": "kwaito"}, {"name": "laiko"},
|
|
114
|
+
{"name": "latin"}, {"name": "latin alternative"}, {"name": "latin jazz"},
|
|
115
|
+
{"name": "latin pop"}, {"name": "lo-fi"}, {"name": "louisiana blues"}, {"name":
|
|
116
|
+
"lounge"}, {"name": "lovers rock"}, {"name": "madchester"}, {"name": "mambo"},
|
|
117
|
+
{"name": "mariachi"}, {"name": "martial industrial"}, {"name": "math rock"},
|
|
118
|
+
{"name": "mathcore"}, {"name": "medieval"}, {"name": "mellow gold"}, {"name":
|
|
119
|
+
"melodic death metal"}, {"name": "melodic hardcore"}, {"name": "melodic metalcore"},
|
|
120
|
+
{"name": "memphis blues"}, {"name": "memphis soul"}, {"name": "merengue"},
|
|
121
|
+
{"name": "merseybeat"}, {"name": "metal"}, {"name": "metalcore"}, {"name":
|
|
122
|
+
"minimal"}, {"name": "modern blues"}, {"name": "modern classical"}, {"name":
|
|
123
|
+
"motown"}, {"name": "mpb"}, {"name": "musique concrete"}, {"name": "nashville
|
|
124
|
+
sound"}, {"name": "native american"}, {"name": "neo classical metal"}, {"name":
|
|
125
|
+
"neo soul"}, {"name": "neo-progressive"}, {"name": "neoclassical"}, {"name":
|
|
126
|
+
"neofolk"}, {"name": "neue deutsche harte"}, {"name": "new age"}, {"name":
|
|
127
|
+
"new beat"}, {"name": "new jack swing"}, {"name": "new orleans blues"}, {"name":
|
|
128
|
+
"new orleans jazz"}, {"name": "new rave"}, {"name": "new romantic"}, {"name":
|
|
129
|
+
"new wave"}, {"name": "new weird america"}, {"name": "ninja"}, {"name": "no
|
|
130
|
+
wave"}, {"name": "noise pop"}, {"name": "noise rock"}, {"name": "northern
|
|
131
|
+
soul"}, {"name": "nu jazz"}, {"name": "nu metal"}, {"name": "nu skool breaks"},
|
|
132
|
+
{"name": "nwobhm"}, {"name": "oi"}, {"name": "old school hip hop"}, {"name":
|
|
133
|
+
"opera"}, {"name": "opm"}, {"name": "oratory"}, {"name": "outlaw country"},
|
|
134
|
+
{"name": "pagan black metal"}, {"name": "piano blues"}, {"name": "piano rock"},
|
|
135
|
+
{"name": "piedmont blues"}, {"name": "polka"}, {"name": "pop"}, {"name": "pop
|
|
136
|
+
punk"}, {"name": "pop rap"}, {"name": "pop rock"}, {"name": "portuguese rock"},
|
|
137
|
+
{"name": "post rock"}, {"name": "post-grunge"}, {"name": "post-hardcore"},
|
|
138
|
+
{"name": "post-metal"}, {"name": "post-punk"}, {"name": "power electronics"},
|
|
139
|
+
{"name": "power metal"}, {"name": "power noise"}, {"name": "power pop"}, {"name":
|
|
140
|
+
"power violence"}, {"name": "progressive bluegrass"}, {"name": "progressive
|
|
141
|
+
house"}, {"name": "progressive metal"}, {"name": "progressive rock"}, {"name":
|
|
142
|
+
"progressive trance"}, {"name": "protopunk"}, {"name": "psychedelic rock"},
|
|
143
|
+
{"name": "psychedelic trance"}, {"name": "psychobilly"}, {"name": "punk"},
|
|
144
|
+
{"name": "punk blues"}, {"name": "quiet storm"}, {"name": "r&b"}, {"name":
|
|
145
|
+
"ragtime"}, {"name": "rai"}, {"name": "ranchera"}, {"name": "rap"}, {"name":
|
|
146
|
+
"rap metal"}, {"name": "rap rock"}, {"name": "reggae"}, {"name": "reggaeton"},
|
|
147
|
+
{"name": "renaissance"}, {"name": "rock"}, {"name": "rock ''n roll"}, {"name":
|
|
148
|
+
"rock en espanol"}, {"name": "rock steady"}, {"name": "rockabilly"}, {"name":
|
|
149
|
+
"roots reggae"}, {"name": "roots rock"}, {"name": "rumba"}, {"name": "salsa"},
|
|
150
|
+
{"name": "samba"}, {"name": "screamo"}, {"name": "sexy"}, {"name": "shibuya-kei"},
|
|
151
|
+
{"name": "shoegaze"}, {"name": "show tunes"}, {"name": "singer-songwriter"},
|
|
152
|
+
{"name": "ska"}, {"name": "ska punk"}, {"name": "skate punk"}, {"name": "skiffle"},
|
|
153
|
+
{"name": "slovenian rock"}, {"name": "slow core"}, {"name": "sludge metal"},
|
|
154
|
+
{"name": "smooth jazz"}, {"name": "soca"}, {"name": "soft rock"}, {"name":
|
|
155
|
+
"soukous"}, {"name": "soul"}, {"name": "soul blues"}, {"name": "soul jazz"},
|
|
156
|
+
{"name": "soundtrack"}, {"name": "southern gospel"}, {"name": "southern hip
|
|
157
|
+
hop"}, {"name": "southern rock"}, {"name": "southern soul"}, {"name": "space
|
|
158
|
+
rock"}, {"name": "speed garage"}, {"name": "speed metal"}, {"name": "speedcore"},
|
|
159
|
+
{"name": "stoner metal"}, {"name": "stoner rock"}, {"name": "straight edge"},
|
|
160
|
+
{"name": "stride"}, {"name": "suomi rock"}, {"name": "surf music"}, {"name":
|
|
161
|
+
"swamp blues"}, {"name": "swing"}, {"name": "symphonic black metal"}, {"name":
|
|
162
|
+
"symphonic metal"}, {"name": "symphonic rock"}, {"name": "synthpop"}, {"name":
|
|
163
|
+
"tango"}, {"name": "tech house"}, {"name": "technical death metal"}, {"name":
|
|
164
|
+
"techno"}, {"name": "teen pop"}, {"name": "tejano"}, {"name": "texas blues"},
|
|
165
|
+
{"name": "texas country"}, {"name": "thai pop"}, {"name": "thrash core"},
|
|
166
|
+
{"name": "thrash metal"}, {"name": "traditional blues"}, {"name": "traditional
|
|
167
|
+
country"}, {"name": "traditional folk"}, {"name": "trance"}, {"name": "tribal
|
|
168
|
+
house"}, {"name": "trip hop"}, {"name": "turbo folk"}, {"name": "turntablism"},
|
|
169
|
+
{"name": "twee pop"}, {"name": "uk garage"}, {"name": "underground hip hop"},
|
|
170
|
+
{"name": "uplifting trance"}, {"name": "urban contemporary"}, {"name": "vallenato"},
|
|
171
|
+
{"name": "video game music"}, {"name": "viking metal"}, {"name": "visual kei"},
|
|
172
|
+
{"name": "vocal house"}, {"name": "vocal jazz"}, {"name": "west coast rap"},
|
|
173
|
+
{"name": "western swing"}, {"name": "world"}, {"name": "worship"}, {"name":
|
|
174
|
+
"zouk"}, {"name": "zydeco"}]}}'
|
|
175
|
+
http_version:
|
|
176
|
+
recorded_at: Sat, 23 Feb 2013 13:07:51 GMT
|
|
177
|
+
recorded_with: VCR 2.4.0
|