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.
@@ -0,0 +1,49 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://developer.echonest.com/api/v4/playlist/dynamic/create?api_key=BNOAEBT3IZYZI6WXI&artist=Weezer&format=json&type=artist-radio
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:13:18 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
+ - WZaoUsRkRBiaSVp7fJiUcA
25
+ Etag:
26
+ - ! '"90e79e9f1fa498373fcf19d25e72da86107337ae"'
27
+ X-Worker-Node:
28
+ - 7d98c:29641
29
+ Content-Length:
30
+ - '127'
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"}, "session_id": "20c87fed4f0b4637b0f9af6786aaa358"}}'
47
+ http_version:
48
+ recorded_at: Sat, 23 Feb 2013 13:13:21 GMT
49
+ recorded_with: VCR 2.4.0
@@ -0,0 +1,96 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://developer.echonest.com/api/v4/playlist/dynamic/create?api_key=BNOAEBT3IZYZI6WXI&artist=Weezer&format=json&type=artist-radio
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:13:44 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
+ - 88PyJWBZRvuF+akOI3g54g
25
+ Etag:
26
+ - ! '"146840a29275c6afcd14a88df3baa2bc0ec8e6e1"'
27
+ X-Worker-Node:
28
+ - 5f1b3:29986
29
+ Content-Length:
30
+ - '127'
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
+ - '7'
43
+ body:
44
+ encoding: US-ASCII
45
+ string: ! '{"response": {"status": {"version": "4.2", "code": 0, "message":
46
+ "Success"}, "session_id": "93bc73611c66425cbeb89052da870384"}}'
47
+ http_version:
48
+ recorded_at: Sat, 23 Feb 2013 13:13:51 GMT
49
+ - request:
50
+ method: get
51
+ uri: http://developer.echonest.com/api/v4/playlist/dynamic/next?api_key=BNOAEBT3IZYZI6WXI&format=json&session_id=93bc73611c66425cbeb89052da870384
52
+ body:
53
+ encoding: US-ASCII
54
+ string: ''
55
+ headers: {}
56
+ response:
57
+ status:
58
+ code: 200
59
+ message: OK
60
+ headers:
61
+ Date:
62
+ - Sat, 23 Feb 2013 13:13:44 GMT
63
+ Content-Type:
64
+ - application/json; charset=utf-8
65
+ Connection:
66
+ - keep-alive
67
+ Vary:
68
+ - Accept-Encoding
69
+ X-Request-Id:
70
+ - hNzF5lTjSou1dqy81ZLVpg
71
+ Etag:
72
+ - ! '"2a8f537e3c2e1257e473f628132921d16f41fc91"'
73
+ X-Worker-Node:
74
+ - aadeb:11293
75
+ Content-Length:
76
+ - '222'
77
+ X-Ratelimit-Remaining:
78
+ - '20'
79
+ Server:
80
+ - TornadoServer/2.4.1
81
+ X-Ratelimit-Limit:
82
+ - '20'
83
+ Cache-Control:
84
+ - max-age=86400
85
+ Access-Control-Allow-Origin:
86
+ - ! '*'
87
+ X-Ratelimit-Used:
88
+ - '8'
89
+ body:
90
+ encoding: US-ASCII
91
+ string: ! '{"response": {"status": {"version": "4.2", "code": 0, "message":
92
+ "Success"}, "lookahead": [], "songs": [{"artist_id": "AR633SY1187B9AC3B9",
93
+ "id": "SOHTZUF12A8C13582B", "artist_name": "Weezer", "title": "Pork And Beans"}]}}'
94
+ http_version:
95
+ recorded_at: Sat, 23 Feb 2013 13:13:51 GMT
96
+ recorded_with: VCR 2.4.0
@@ -0,0 +1,144 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://developer.echonest.com/api/v4/playlist/dynamic/create?api_key=BNOAEBT3IZYZI6WXI&artist=Weezer&format=json&type=artist-radio
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:18:20 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
+ - nPMvV5YQQDKQ5REly2xisw
25
+ Etag:
26
+ - ! '"801631ac93065ed471d3062a163d44be43f76e0f"'
27
+ X-Worker-Node:
28
+ - 0b857:21278
29
+ Content-Length:
30
+ - '127'
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
+ - '3'
43
+ body:
44
+ encoding: US-ASCII
45
+ string: ! '{"response": {"status": {"version": "4.2", "code": 0, "message":
46
+ "Success"}, "session_id": "f93c3d81fcd14f2c9c921334be7e1695"}}'
47
+ http_version:
48
+ recorded_at: Sat, 23 Feb 2013 13:18:23 GMT
49
+ - request:
50
+ method: get
51
+ uri: http://developer.echonest.com/api/v4/playlist/dynamic/next?api_key=BNOAEBT3IZYZI6WXI&format=json&session_id=f93c3d81fcd14f2c9c921334be7e1695
52
+ body:
53
+ encoding: US-ASCII
54
+ string: ''
55
+ headers: {}
56
+ response:
57
+ status:
58
+ code: 200
59
+ message: OK
60
+ headers:
61
+ Date:
62
+ - Sat, 23 Feb 2013 13:18:20 GMT
63
+ Content-Type:
64
+ - application/json; charset=utf-8
65
+ Connection:
66
+ - keep-alive
67
+ Vary:
68
+ - Accept-Encoding
69
+ X-Request-Id:
70
+ - XHokvZVQTGOw8Pg72VNLow
71
+ Etag:
72
+ - ! '"d589936921d541a4ae3093bc7789d4e73896314b"'
73
+ X-Worker-Node:
74
+ - 0b857:21277
75
+ Content-Length:
76
+ - '221'
77
+ X-Ratelimit-Remaining:
78
+ - '20'
79
+ Server:
80
+ - TornadoServer/2.4.1
81
+ X-Ratelimit-Limit:
82
+ - '20'
83
+ Cache-Control:
84
+ - max-age=86400
85
+ Access-Control-Allow-Origin:
86
+ - ! '*'
87
+ X-Ratelimit-Used:
88
+ - '4'
89
+ body:
90
+ encoding: US-ASCII
91
+ string: ! '{"response": {"status": {"version": "4.2", "code": 0, "message":
92
+ "Success"}, "lookahead": [], "songs": [{"artist_id": "AR633SY1187B9AC3B9",
93
+ "id": "SOHXHLT1315CD4942C", "artist_name": "Weezer", "title": "The Good Life"}]}}'
94
+ http_version:
95
+ recorded_at: Sat, 23 Feb 2013 13:18:23 GMT
96
+ - request:
97
+ method: get
98
+ uri: http://developer.echonest.com/api/v4/playlist/dynamic/next?api_key=BNOAEBT3IZYZI6WXI&format=json&session_id=f93c3d81fcd14f2c9c921334be7e1695
99
+ body:
100
+ encoding: US-ASCII
101
+ string: ''
102
+ headers: {}
103
+ response:
104
+ status:
105
+ code: 200
106
+ message: OK
107
+ headers:
108
+ Date:
109
+ - Sat, 23 Feb 2013 13:18:20 GMT
110
+ Content-Type:
111
+ - application/json; charset=utf-8
112
+ Connection:
113
+ - keep-alive
114
+ Vary:
115
+ - Accept-Encoding
116
+ X-Request-Id:
117
+ - KVs/jffkTaysBtA4YqnG0Q
118
+ Etag:
119
+ - ! '"fcc2cec66917bbd9d2b4562e29b914d778e8da1d"'
120
+ X-Worker-Node:
121
+ - 1eef6:12417
122
+ Content-Length:
123
+ - '226'
124
+ X-Ratelimit-Remaining:
125
+ - '20'
126
+ Server:
127
+ - TornadoServer/2.4.1
128
+ X-Ratelimit-Limit:
129
+ - '20'
130
+ Cache-Control:
131
+ - max-age=86400
132
+ Access-Control-Allow-Origin:
133
+ - ! '*'
134
+ X-Ratelimit-Used:
135
+ - '5'
136
+ body:
137
+ encoding: US-ASCII
138
+ string: ! '{"response": {"status": {"version": "4.2", "code": 0, "message":
139
+ "Success"}, "lookahead": [], "songs": [{"artist_id": "ARP7ILI1187B9AE9F7",
140
+ "id": "SOAOVTO12A8C1314A6", "artist_name": "Phantom Planet", "title": "Lonely
141
+ Day"}]}}'
142
+ http_version:
143
+ recorded_at: Sat, 23 Feb 2013 13:18:23 GMT
144
+ recorded_with: VCR 2.4.0
@@ -0,0 +1,53 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://developer.echonest.com/api/v4/artist/search?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:08:12 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
+ - i1vZwLE+Qyiqwun/+oN84A
25
+ Etag:
26
+ - ! '"e7f36d4846d8fd7054706b4048cae87ded56ba0c"'
27
+ X-Worker-Node:
28
+ - fb7e1:21716
29
+ Content-Length:
30
+ - '441'
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"}, "artists": [{"name": "Weezer", "id": "AR633SY1187B9AC3B9"}, {"name":
47
+ "Weezer Tribute", "id": "ARHVIPZ122CC3B2537"}, {"name": "Weezer, Hayley Williams",
48
+ "id": "ARRLJLF13221695F30"}, {"name": "Weezer/Hayley Williams", "id": "ARGGYKM13365906CDC"},
49
+ {"name": "Grease Weezer", "id": "ARWHDKF12AF7D9BEBF"}, {"name": "Matt Sharp
50
+ (of Weezer", "id": "ARIVGRW134198DDE27"}]}}'
51
+ http_version:
52
+ recorded_at: Sat, 23 Feb 2013 13:08:19 GMT
53
+ recorded_with: VCR 2.4.0
@@ -0,0 +1,54 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://developer.echonest.com/api/v4/artist/search?api_key=BNOAEBT3IZYZI6WXI&bucket=id:musicbrainz&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:09:28 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
+ - z1OH+XS4QNCIq1PB0u1HpA
25
+ Etag:
26
+ - ! '"738c6d202224e12d6640137838d49cd249f1cb89"'
27
+ X-Worker-Node:
28
+ - 5f1b3:30033
29
+ Content-Length:
30
+ - '559'
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"}, "artists": [{"foreign_ids": [{"catalog": "musicbrainz", "foreign_id":
47
+ "musicbrainz:artist:6fe07aa5-fec0-4eca-a456-f29bff451b04"}], "id": "AR633SY1187B9AC3B9",
48
+ "name": "Weezer"}, {"id": "ARHVIPZ122CC3B2537", "name": "Weezer Tribute"},
49
+ {"id": "ARRLJLF13221695F30", "name": "Weezer, Hayley Williams"}, {"id": "ARGGYKM13365906CDC",
50
+ "name": "Weezer/Hayley Williams"}, {"id": "ARWHDKF12AF7D9BEBF", "name": "Grease
51
+ Weezer"}, {"id": "ARIVGRW134198DDE27", "name": "Matt Sharp (of Weezer"}]}}'
52
+ http_version:
53
+ recorded_at: Sat, 23 Feb 2013 13:09:36 GMT
54
+ recorded_with: VCR 2.4.0
@@ -0,0 +1,52 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://developer.echonest.com/api/v4/artist/biographies?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: OK
14
+ headers:
15
+ Date:
16
+ - Fri, 22 Feb 2013 20:57:27 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
+ - S0DxrVdbT2O0D5NiewljIg
25
+ Etag:
26
+ - ! '"20406ebd7c4f93f2ed24d9566bbad8568af1c7e7"'
27
+ X-Worker-Node:
28
+ - aadeb:27235
29
+ Content-Length:
30
+ - '390'
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": 13, "biographies": [{"text": "FOLLOW US MORE
47
+ VIDEOS", "site": "myspace", "url": "http://www.myspace.com/weezer#biography",
48
+ "license": {"type": "unknown", "attribution": "n/a", "attribution-url": "http://www.myspace.com/weezer#biography",
49
+ "url": "n/a", "version": "n/a"}, "truncated": true}]}}'
50
+ http_version:
51
+ recorded_at: Fri, 22 Feb 2013 20:57:32 GMT
52
+ recorded_with: VCR 2.4.0