jtv 1.0.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -38
  3. data/lib/jtv/channel.rb +4 -11
  4. data/lib/jtv/client.rb +1 -1
  5. data/lib/jtv/stream.rb +4 -4
  6. data/lib/jtv/user.rb +1 -5
  7. data/lib/jtv/version.rb +1 -1
  8. data/spec/features/channel_spec.rb +8 -27
  9. data/spec/features/stream_spec.rb +8 -10
  10. data/spec/features/user_spec.rb +1 -8
  11. data/spec/jtv/channel_spec.rb +3 -19
  12. data/spec/jtv/client_spec.rb +2 -5
  13. data/spec/jtv/defaults_spec.rb +6 -6
  14. data/spec/jtv/stream_spec.rb +7 -6
  15. data/spec/jtv/user_spec.rb +1 -8
  16. data/spec/jtv_spec.rb +2 -2
  17. data/spec/vcr_cassettes/Jtv_Channel/_archives/returns_an_array_of_archives_for_given_channel.yml +42 -37
  18. data/spec/vcr_cassettes/Jtv_Channel/_channel_show/provides_information_for_a_given_channel.yml +40 -42
  19. data/spec/vcr_cassettes/Jtv_Channel/_fans/fetches_fans_for_a_given_channel.yml +65 -351
  20. data/spec/vcr_cassettes/Jtv_Stream/_featured/returns_a_list_of_streams.yml +1552 -0
  21. data/spec/vcr_cassettes/Jtv_Stream/_search/returns_streams_based_on_search_query.yml +66 -334
  22. data/spec/vcr_cassettes/Jtv_Stream/_summary/returns_a_summary_of_Justin_tv_data.yml +70 -0
  23. data/spec/vcr_cassettes/Jtv_User/_user_show/fetches_information_on_user.yml +37 -34
  24. data/spec/vcr_config.rb +0 -4
  25. metadata +26 -32
  26. data/spec/vcr_cassettes/Jtv_Channel/_chat_embed/returns_an_iframe_for_chat.yml +0 -46
  27. data/spec/vcr_cassettes/Jtv_Channel/_embed/returns_a_string_containing_an_embed_object.yml +0 -53
  28. data/spec/vcr_cassettes/Jtv_Stream/_list/returns_a_list_of_streams_for_a_category.yml +0 -1692
  29. data/spec/vcr_cassettes/Jtv_Stream/_summary/returns_a_summary_of_Jutstin_tv_data.yml +0 -51
  30. data/spec/vcr_cassettes/Jtv_User/_favorites/fetches_favorites_from_user.yml +0 -88
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.justin.tv/stream/search/league%20of%20legends.json?limit=10
5
+ uri: https://api.twitch.tv/kraken/search/streams.json?q=starcraft
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -12,8 +12,9 @@ http_interactions:
12
12
  User-Agent:
13
13
  - Jtv Gem
14
14
  Authorization:
15
- - OAuth oauth_nonce="e2a69024732ed935d6452d3599d088b0", oauth_signature="pICrS75dpYoTbMuhb73SrICVG04%3D",
16
- oauth_signature_method="HMAC-SHA1", oauth_timestamp="1368407744", oauth_version="1.0"
15
+ - OAuth oauth_consumer_key="", oauth_nonce="fff5bbf95f4867507d50f0e8359bd414",
16
+ oauth_signature="4L1m%2FBuspaprSXUBx78wR5cpqZA%3D", oauth_signature_method="HMAC-SHA1",
17
+ oauth_timestamp="1424824760", oauth_token="", oauth_version="1.0"
17
18
  Accept-Encoding:
18
19
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
19
20
  response:
@@ -24,341 +25,72 @@ http_interactions:
24
25
  Server:
25
26
  - nginx
26
27
  Date:
27
- - Mon, 13 May 2013 01:15:43 GMT
28
+ - Wed, 25 Feb 2015 00:39:20 GMT
28
29
  Content-Type:
29
- - application/json
30
- Transfer-Encoding:
31
- - chunked
30
+ - application/json; charset=utf-8
31
+ Content-Length:
32
+ - '2732'
32
33
  Connection:
33
- - close
34
- Content-Language:
35
- - en
36
- Expires:
37
- - Mon, 13 May 2013 01:16:13 GMT
38
- Vary:
39
- - Accept-Language, Cookie
40
- Last-Modified:
41
- - Mon, 13 May 2013 01:15:43 GMT
34
+ - keep-alive
35
+ Status:
36
+ - 200 OK
37
+ X-Api-Version:
38
+ - '3'
39
+ X-Frame-Options:
40
+ - SAMEORIGIN
42
41
  Cache-Control:
43
- - max-age=30
42
+ - max-age=60, public
43
+ Vary:
44
+ - Accept-Encoding
45
+ X-Ua-Compatible:
46
+ - IE=Edge,chrome=1
47
+ Etag:
48
+ - '"fb41c1063b6d9c3d3feb2bb2bb228326"'
49
+ X-Request-Id:
50
+ - 131bcdc3cc6f6aeb612672e60847c96c
51
+ X-Runtime:
52
+ - '0.285043'
53
+ Accept-Ranges:
54
+ - bytes
55
+ X-Varnish:
56
+ - '2681486645'
57
+ Age:
58
+ - '0'
59
+ Via:
60
+ - 1.1 varnish
61
+ X-Mh-Cache:
62
+ - appcache2; M
44
63
  Front-End-Https:
45
- - 'off'
64
+ - 'on'
46
65
  body:
47
66
  encoding: UTF-8
48
- string: '[{"subcategory": "radio_stations", "broadcast_part": 72, "featured":
49
- false, "channel_subscription": false, "audio_codec": "mp3", "id": "5639358400",
50
- "category": "entertainment", "title": "Alma en Radio en vivo", "geo": "AR",
51
- "site_count": 0, "embed_enabled": false, "channel": {"views_count": 42394,
52
- "producer": false, "image_url_huge": "http://static-cdn.jtvnw.net/jtv_user_pictures/almaenpenia-profile_image-0399954cd7cfa8e2-600x600.jpeg",
53
- "timezone": "", "screen_cap_url_huge": "http://static-cdn.jtvnw.net/previews/live_user_almaenpenia-630x473.jpg",
54
- "id": "5639358400", "subcategory": "radio_stations", "category": "entertainment",
55
- "embed_code": "<object type=\"application/x-shockwave-flash\" data=\"http://www.justin.tv/widgets/live_embed_player.swf?channel=almaenpenia\"
56
- id=\"live_embed_player_flash\" height=\"300\" width=\"400\" bgcolor=\"#000000\"><param
57
- name=\"allowFullScreen\" value=\"true\"/><param name=\"allowScriptAccess\"
58
- value=\"always\" /><param name=\"allowNetworking\" value=\"all\" /><param
59
- name=\"movie\" value=\"http://www.justin.tv/widgets/live_embed_player.swf\"
60
- /><param name=\"flashvars\" value=\"hostname=www.justin.tv&channel=almaenpenia&auto_play=false&start_volume=25\"
61
- /></object><a href=\"http://www.justin.tv/almaenpenia#r=-rid-&amp;s=em\" class=\"trk\"
62
- style=\"padding:2px 0px 4px; display:block; width:345px; font-weight:normal;
63
- font-size:10px; text-decoration:underline; text-align:center\">Watch live
64
- video from almaenpenia on www.justin.tv</a>", "title": "almaenpenia", "image_url_tiny":
65
- "http://static-cdn.jtvnw.net/jtv_user_pictures/almaenpenia-profile_image-0399954cd7cfa8e2-50x50.jpeg",
66
- "screen_cap_url_large": "http://static-cdn.jtvnw.net/previews/live_user_almaenpenia-320x240.jpg",
67
- "embed_enabled": false, "status": "Alma en Radio en vivo", "meta_game": "",
68
- "tags": null, "image_url_small": "http://static-cdn.jtvnw.net/jtv_user_pictures/almaenpenia-profile_image-0399954cd7cfa8e2-70x70.jpeg",
69
- "screen_cap_url_medium": "http://static-cdn.jtvnw.net/previews/live_user_almaenpenia-150x113.jpg",
70
- "language": "es", "channel_url": "http://www.justin.tv/almaenpenia", "subcategory_title":
71
- "Radio Stations", "image_url_medium": "http://static-cdn.jtvnw.net/jtv_user_pictures/almaenpenia-profile_image-0399954cd7cfa8e2-150x150.jpeg",
72
- "image_url_large": "http://static-cdn.jtvnw.net/jtv_user_pictures/almaenpenia-profile_image-0399954cd7cfa8e2-300x300.jpeg",
73
- "mature": null, "screen_cap_url_small": "http://static-cdn.jtvnw.net/previews/live_user_almaenpenia-70x53.jpg",
74
- "login": "almaenpenia", "category_title": "Entertainment"}, "up_time": "Sat
75
- May 11 06:34:50 2013", "format": "live", "channel_count": 0, "embed_count":
76
- 0, "abuse_reported": false, "stream_type": "live", "name": "live_user_almaenpenia",
77
- "language": "es", "stream_count": 0, "video_bitrate": 65.53125, "channel_id":
78
- 26683806, "broadcaster": "fme", "channel_view_count": 42202}, {"subcategory":
79
- "radio_stations", "broadcast_part": 100, "featured": false, "channel_subscription":
80
- false, "audio_codec": "mp3", "id": "5634602960", "category": "entertainment",
81
- "geo": "AR", "site_count": 0, "embed_enabled": true, "channel": {"views_count":
82
- 7593, "producer": false, "image_url_huge": "http://static-cdn.jtvnw.net/jtv_user_pictures/94fantastica-profile_image-c9f2d3565b096913-600x600.jpeg",
83
- "timezone": "", "screen_cap_url_huge": "http://static-cdn.jtvnw.net/previews/live_user_94fantastica-630x473.jpg",
84
- "id": "5634602960", "subcategory": "radio_stations", "category": "entertainment",
85
- "embed_code": "<object type=\"application/x-shockwave-flash\" data=\"http://www.justin.tv/widgets/live_embed_player.swf?channel=94fantastica\"
86
- id=\"live_embed_player_flash\" height=\"300\" width=\"400\" bgcolor=\"#000000\"><param
87
- name=\"allowFullScreen\" value=\"true\"/><param name=\"allowScriptAccess\"
88
- value=\"always\" /><param name=\"allowNetworking\" value=\"all\" /><param
89
- name=\"movie\" value=\"http://www.justin.tv/widgets/live_embed_player.swf\"
90
- /><param name=\"flashvars\" value=\"hostname=www.justin.tv&channel=94fantastica&auto_play=false&start_volume=25\"
91
- /></object><a href=\"http://www.justin.tv/94fantastica#r=-rid-&amp;s=em\"
92
- class=\"trk\" style=\"padding:2px 0px 4px; display:block; width:345px; font-weight:normal;
93
- font-size:10px; text-decoration:underline; text-align:center\">Watch live
94
- video from 94fantastica on www.justin.tv</a>", "title": "94fantastica", "image_url_tiny":
95
- "http://static-cdn.jtvnw.net/jtv_user_pictures/94fantastica-profile_image-c9f2d3565b096913-50x50.jpeg",
96
- "screen_cap_url_large": "http://static-cdn.jtvnw.net/previews/live_user_94fantastica-320x240.jpg",
97
- "embed_enabled": true, "status": null, "meta_game": "", "tags": null, "image_url_small":
98
- "http://static-cdn.jtvnw.net/jtv_user_pictures/94fantastica-profile_image-c9f2d3565b096913-70x70.jpeg",
99
- "screen_cap_url_medium": "http://static-cdn.jtvnw.net/previews/live_user_94fantastica-150x113.jpg",
100
- "language": "en", "channel_url": "http://www.justin.tv/94fantastica", "subcategory_title":
101
- "Radio Stations", "image_url_medium": "http://static-cdn.jtvnw.net/jtv_user_pictures/94fantastica-profile_image-c9f2d3565b096913-150x150.jpeg",
102
- "image_url_large": "http://static-cdn.jtvnw.net/jtv_user_pictures/94fantastica-profile_image-c9f2d3565b096913-300x300.jpeg",
103
- "mature": null, "screen_cap_url_small": "http://static-cdn.jtvnw.net/previews/live_user_94fantastica-70x53.jpg",
104
- "login": "94fantastica", "category_title": "Entertainment"}, "up_time": "Fri
105
- May 10 16:16:57 2013", "format": "live", "channel_count": 0, "embed_count":
106
- 0, "abuse_reported": false, "stream_type": "live", "name": "live_user_94fantastica",
107
- "language": "en", "stream_count": 0, "video_bitrate": 94.7109375, "channel_id":
108
- 25143187, "broadcaster": "fme", "channel_view_count": 7584}, {"subcategory":
109
- "radio_stations", "broadcast_part": 131, "featured": false, "channel_subscription":
110
- false, "audio_codec": "mp3", "id": "5629307120", "category": "entertainment",
111
- "geo": "BR", "site_count": 0, "embed_enabled": true, "channel": {"views_count":
112
- 19561, "producer": false, "image_url_huge": "http://static-cdn.jtvnw.net/jtv_user_pictures/digital_flashback-profile_image-c2c35a4d1dc628f8-600x600.jpeg",
113
- "timezone": "America/Sao_Paulo", "screen_cap_url_huge": "http://static-cdn.jtvnw.net/previews/live_user_digital_flashback-630x473.jpg",
114
- "id": "5629307120", "subcategory": "radio_stations", "category": "entertainment",
115
- "embed_code": "<object type=\"application/x-shockwave-flash\" data=\"http://www.justin.tv/widgets/live_embed_player.swf?channel=digital_flashback\"
116
- id=\"live_embed_player_flash\" height=\"300\" width=\"400\" bgcolor=\"#000000\"><param
117
- name=\"allowFullScreen\" value=\"true\"/><param name=\"allowScriptAccess\"
118
- value=\"always\" /><param name=\"allowNetworking\" value=\"all\" /><param
119
- name=\"movie\" value=\"http://www.justin.tv/widgets/live_embed_player.swf\"
120
- /><param name=\"flashvars\" value=\"hostname=www.justin.tv&channel=digital_flashback&auto_play=false&start_volume=25\"
121
- /></object><a href=\"http://www.justin.tv/digital_flashback#r=-rid-&amp;s=em\"
122
- class=\"trk\" style=\"padding:2px 0px 4px; display:block; width:345px; font-weight:normal;
123
- font-size:10px; text-decoration:underline; text-align:center\">Watch live
124
- video from digital_flashback on www.justin.tv</a>", "title": "digital_flashback",
125
- "image_url_tiny": "http://static-cdn.jtvnw.net/jtv_user_pictures/digital_flashback-profile_image-c2c35a4d1dc628f8-50x50.jpeg",
126
- "screen_cap_url_large": "http://static-cdn.jtvnw.net/previews/live_user_digital_flashback-320x240.jpg",
127
- "embed_enabled": true, "status": null, "meta_game": "", "tags": null, "image_url_small":
128
- "http://static-cdn.jtvnw.net/jtv_user_pictures/digital_flashback-profile_image-c2c35a4d1dc628f8-70x70.jpeg",
129
- "screen_cap_url_medium": "http://static-cdn.jtvnw.net/previews/live_user_digital_flashback-150x113.jpg",
130
- "language": "pt-br", "channel_url": "http://www.justin.tv/digital_flashback",
131
- "subcategory_title": "Radio Stations", "image_url_medium": "http://static-cdn.jtvnw.net/jtv_user_pictures/digital_flashback-profile_image-c2c35a4d1dc628f8-150x150.jpeg",
132
- "image_url_large": "http://static-cdn.jtvnw.net/jtv_user_pictures/digital_flashback-profile_image-c2c35a4d1dc628f8-300x300.jpeg",
133
- "mature": null, "screen_cap_url_small": "http://static-cdn.jtvnw.net/previews/live_user_digital_flashback-70x53.jpg",
134
- "login": "digital_flashback", "category_title": "Entertainment"}, "up_time":
135
- "Fri May 10 01:04:23 2013", "format": "live", "channel_count": 0, "embed_count":
136
- 0, "abuse_reported": false, "stream_type": "live", "name": "live_user_digital_flashback",
137
- "language": "pt-br", "stream_count": 0, "video_bitrate": 94.75, "channel_id":
138
- 23175580, "broadcaster": "fme", "channel_view_count": 19540}, {"subcategory":
139
- "birds", "broadcast_part": 131, "featured": false, "channel_subscription":
140
- false, "audio_codec": "none", "id": "5629324768", "category": "animals", "title":
141
- "CGRESD Area School Chicken Cam!", "geo": "US", "video_height": 240, "site_count":
142
- 0, "embed_enabled": false, "channel": {"views_count": 288, "producer": false,
143
- "image_url_huge": "http://static-cdn.jtvnw.net/jtv_user_pictures/cgresd-profile_image-LVS4prDymvrDGw4-600x600.jpg",
144
- "timezone": "", "screen_cap_url_huge": "http://static-cdn.jtvnw.net/previews/live_user_cgresd-630x473.jpg",
145
- "id": "5629324768", "subcategory": "birds", "category": "animals", "embed_code":
146
- "<object type=\"application/x-shockwave-flash\" data=\"http://www.justin.tv/widgets/live_embed_player.swf?channel=cgresd\"
147
- id=\"live_embed_player_flash\" height=\"300\" width=\"400\" bgcolor=\"#000000\"><param
148
- name=\"allowFullScreen\" value=\"true\"/><param name=\"allowScriptAccess\"
149
- value=\"always\" /><param name=\"allowNetworking\" value=\"all\" /><param
150
- name=\"movie\" value=\"http://www.justin.tv/widgets/live_embed_player.swf\"
151
- /><param name=\"flashvars\" value=\"hostname=www.justin.tv&channel=cgresd&auto_play=false&start_volume=25\"
152
- /></object><a href=\"http://www.justin.tv/cgresd#r=-rid-&amp;s=em\" class=\"trk\"
153
- style=\"padding:2px 0px 4px; display:block; width:345px; font-weight:normal;
154
- font-size:10px; text-decoration:underline; text-align:center\">Watch live
155
- video from cgresd on www.justin.tv</a>", "title": "cgresd", "image_url_tiny":
156
- "http://static-cdn.jtvnw.net/jtv_user_pictures/cgresd-profile_image-LVS4prDymvrDGw4-50x50.jpg",
157
- "screen_cap_url_large": "http://static-cdn.jtvnw.net/previews/live_user_cgresd-320x240.jpg",
158
- "embed_enabled": false, "status": "CGRESD Area School Chicken Cam!", "meta_game":
159
- "", "tags": null, "image_url_small": "http://static-cdn.jtvnw.net/jtv_user_pictures/cgresd-profile_image-LVS4prDymvrDGw4-70x70.jpg",
160
- "screen_cap_url_medium": "http://static-cdn.jtvnw.net/previews/live_user_cgresd-150x113.jpg",
161
- "language": "en", "channel_url": "http://www.justin.tv/cgresd", "subcategory_title":
162
- "Birds", "image_url_medium": "http://static-cdn.jtvnw.net/jtv_user_pictures/cgresd-profile_image-LVS4prDymvrDGw4-150x150.jpg",
163
- "image_url_large": "http://static-cdn.jtvnw.net/jtv_user_pictures/cgresd-profile_image-LVS4prDymvrDGw4-300x300.jpg",
164
- "mature": null, "screen_cap_url_small": "http://static-cdn.jtvnw.net/previews/live_user_cgresd-70x53.jpg",
165
- "login": "cgresd", "category_title": "Animals"}, "up_time": "Fri May 10 01:06:43
166
- 2013", "format": "live", "channel_count": 0, "embed_count": 0, "abuse_reported":
167
- false, "video_width": 320, "stream_type": "live", "name": "live_user_cgresd",
168
- "language": "en", "stream_count": 0, "video_bitrate": 70.046875, "channel_id":
169
- 43026396, "broadcaster": "fme", "video_codec": "VP6", "channel_view_count":
170
- 240}, {"subcategory": "music", "broadcast_part": 58, "featured": false, "channel_subscription":
171
- false, "audio_codec": "nellymoser", "id": "5642306832", "category": "entertainment",
172
- "title": "Radiosur F.M en VIVO por Justin desde Sevilla-Epa\u00f1a", "geo":
173
- "ES", "site_count": 0, "embed_enabled": true, "channel": {"views_count": 110005,
174
- "producer": false, "image_url_huge": "http://static-cdn.jtvnw.net/jtv_user_pictures/cristobalma-profile_image-0wchS1HY5ImAiiN-600x600.png",
175
- "timezone": "", "screen_cap_url_huge": "http://static-cdn.jtvnw.net/previews/live_user_cristobalma-630x473.jpg",
176
- "id": "5642306832", "subcategory": "music", "category": "entertainment", "embed_code":
177
- "<object type=\"application/x-shockwave-flash\" data=\"http://www.justin.tv/widgets/live_embed_player.swf?channel=cristobalma\"
178
- id=\"live_embed_player_flash\" height=\"300\" width=\"400\" bgcolor=\"#000000\"><param
179
- name=\"allowFullScreen\" value=\"true\"/><param name=\"allowScriptAccess\"
180
- value=\"always\" /><param name=\"allowNetworking\" value=\"all\" /><param
181
- name=\"movie\" value=\"http://www.justin.tv/widgets/live_embed_player.swf\"
182
- /><param name=\"flashvars\" value=\"hostname=www.justin.tv&channel=cristobalma&auto_play=false&start_volume=25\"
183
- /></object><a href=\"http://www.justin.tv/cristobalma#r=-rid-&amp;s=em\" class=\"trk\"
184
- style=\"padding:2px 0px 4px; display:block; width:345px; font-weight:normal;
185
- font-size:10px; text-decoration:underline; text-align:center\">Watch live
186
- video from cristobalma on www.justin.tv</a>", "title": "RADIOSUR F.M 102.1",
187
- "image_url_tiny": "http://static-cdn.jtvnw.net/jtv_user_pictures/cristobalma-profile_image-0wchS1HY5ImAiiN-50x50.png",
188
- "screen_cap_url_large": "http://static-cdn.jtvnw.net/previews/live_user_cristobalma-320x240.jpg",
189
- "embed_enabled": true, "status": "Radiosur F.M en VIVO por Justin desde Sevilla-Epa\u00f1a",
190
- "meta_game": "", "tags": null, "image_url_small": "http://static-cdn.jtvnw.net/jtv_user_pictures/cristobalma-profile_image-0wchS1HY5ImAiiN-70x70.png",
191
- "screen_cap_url_medium": "http://static-cdn.jtvnw.net/previews/live_user_cristobalma-150x113.jpg",
192
- "language": "es", "channel_url": "http://www.justin.tv/cristobalma", "subcategory_title":
193
- "Music", "image_url_medium": "http://static-cdn.jtvnw.net/jtv_user_pictures/cristobalma-profile_image-0wchS1HY5ImAiiN-150x150.png",
194
- "image_url_large": "http://static-cdn.jtvnw.net/jtv_user_pictures/cristobalma-profile_image-0wchS1HY5ImAiiN-300x300.png",
195
- "mature": null, "screen_cap_url_small": "http://static-cdn.jtvnw.net/previews/live_user_cristobalma-70x53.jpg",
196
- "login": "cristobalma", "category_title": "Entertainment"}, "up_time": "Sat
197
- May 11 13:41:57 2013", "format": "live", "channel_count": 0, "embed_count":
198
- 0, "abuse_reported": false, "stream_type": "live", "name": "live_user_cristobalma",
199
- "language": "es", "stream_count": 0, "video_bitrate": 11.9453125, "channel_id":
200
- 23563282, "broadcaster": "site", "video_codec": "SOR", "channel_view_count":
201
- 109847}, {"subcategory": "celebrities", "broadcast_part": 131, "featured":
202
- false, "channel_subscription": false, "audio_codec": "none", "id": "5629327296",
203
- "category": "entertainment", "title": "Bienvenidos al canal oficial de Alta
204
- Comunicaci\u00f3n S.R.L.", "geo": "US", "video_height": 192, "site_count":
205
- 0, "embed_enabled": true, "channel": {"views_count": 1614, "producer": false,
206
- "image_url_huge": "http://static-cdn.jtvnw.net/jtv_user_pictures/altacomunicacion-profile_image-kQ1Nm5iNjAzhaT7-600x600.jpg",
207
- "timezone": "", "screen_cap_url_huge": "http://static-cdn.jtvnw.net/previews/live_user_altacomunicacion-630x473.jpg",
208
- "id": "5629327296", "subcategory": "celebrities", "category": "entertainment",
209
- "embed_code": "<object type=\"application/x-shockwave-flash\" data=\"http://www.justin.tv/widgets/live_embed_player.swf?channel=altacomunicacion\"
210
- id=\"live_embed_player_flash\" height=\"300\" width=\"400\" bgcolor=\"#000000\"><param
211
- name=\"allowFullScreen\" value=\"true\"/><param name=\"allowScriptAccess\"
212
- value=\"always\" /><param name=\"allowNetworking\" value=\"all\" /><param
213
- name=\"movie\" value=\"http://www.justin.tv/widgets/live_embed_player.swf\"
214
- /><param name=\"flashvars\" value=\"hostname=www.justin.tv&channel=altacomunicacion&auto_play=false&start_volume=25\"
215
- /></object><a href=\"http://www.justin.tv/altacomunicacion#r=-rid-&amp;s=em\"
216
- class=\"trk\" style=\"padding:2px 0px 4px; display:block; width:345px; font-weight:normal;
217
- font-size:10px; text-decoration:underline; text-align:center\">Watch live
218
- video from altacomunicacion on www.justin.tv</a>", "title": "Alta Comunicacion
219
- S.R.L.", "image_url_tiny": "http://static-cdn.jtvnw.net/jtv_user_pictures/altacomunicacion-profile_image-kQ1Nm5iNjAzhaT7-50x50.jpg",
220
- "screen_cap_url_large": "http://static-cdn.jtvnw.net/previews/live_user_altacomunicacion-320x240.jpg",
221
- "embed_enabled": true, "status": "Bienvenidos al canal oficial de Alta Comunicaci\u00f3n
222
- S.R.L.", "meta_game": "", "tags": null, "image_url_small": "http://static-cdn.jtvnw.net/jtv_user_pictures/altacomunicacion-profile_image-kQ1Nm5iNjAzhaT7-70x70.jpg",
223
- "screen_cap_url_medium": "http://static-cdn.jtvnw.net/previews/live_user_altacomunicacion-150x113.jpg",
224
- "language": "es", "channel_url": "http://www.justin.tv/altacomunicacion",
225
- "subcategory_title": "Celebrities", "image_url_medium": "http://static-cdn.jtvnw.net/jtv_user_pictures/altacomunicacion-profile_image-kQ1Nm5iNjAzhaT7-150x150.jpg",
226
- "image_url_large": "http://static-cdn.jtvnw.net/jtv_user_pictures/altacomunicacion-profile_image-kQ1Nm5iNjAzhaT7-300x300.jpg",
227
- "mature": null, "screen_cap_url_small": "http://static-cdn.jtvnw.net/previews/live_user_altacomunicacion-70x53.jpg",
228
- "login": "altacomunicacion", "category_title": "Entertainment"}, "up_time":
229
- "Fri May 10 01:06:48 2013", "format": "live", "channel_count": 0, "embed_count":
230
- 0, "abuse_reported": false, "video_width": 320, "stream_type": "live", "name":
231
- "live_user_altacomunicacion", "language": "es", "stream_count": 0, "video_bitrate":
232
- 454.671875, "channel_id": 32504837, "broadcaster": "fme", "video_codec": "VP6",
233
- "channel_view_count": 1612}, {"subcategory": "music", "broadcast_part": 121,
234
- "featured": false, "channel_subscription": false, "audio_codec": "aac", "id":
235
- "5630702608", "category": "entertainment", "title": "\u3008\u7d14\u97f3\u6a02\u5206\u6d41\u3009\u52d5\u6f2b(Anime)\u3001\u65e5\u6587(Jpop)
236
- Music 24hr \u653e\u9001\u4e2d~~", "geo": "TW", "video_height": 450, "site_count":
237
- 0, "embed_enabled": true, "channel": {"views_count": 31605, "producer": false,
238
- "image_url_huge": "http://static-cdn.jtvnw.net/jtv_user_pictures/cjs123456-profile_image-a7ba7ca354a234c2-600x600.jpeg",
239
- "timezone": "Asia/Taipei", "screen_cap_url_huge": "http://static-cdn.jtvnw.net/previews/live_user_cjs123456-630x473.jpg",
240
- "id": "5630702608", "subcategory": "music", "category": "entertainment", "embed_code":
241
- "<object type=\"application/x-shockwave-flash\" data=\"http://www.justin.tv/widgets/live_embed_player.swf?channel=cjs123456\"
242
- id=\"live_embed_player_flash\" height=\"300\" width=\"400\" bgcolor=\"#000000\"><param
243
- name=\"allowFullScreen\" value=\"true\"/><param name=\"allowScriptAccess\"
244
- value=\"always\" /><param name=\"allowNetworking\" value=\"all\" /><param
245
- name=\"movie\" value=\"http://www.justin.tv/widgets/live_embed_player.swf\"
246
- /><param name=\"flashvars\" value=\"hostname=www.justin.tv&channel=cjs123456&auto_play=false&start_volume=25\"
247
- /></object><a href=\"http://www.justin.tv/cjs123456#r=-rid-&amp;s=em\" class=\"trk\"
248
- style=\"padding:2px 0px 4px; display:block; width:345px; font-weight:normal;
249
- font-size:10px; text-decoration:underline; text-align:center\">Watch live
250
- video from cjs123456 on www.justin.tv</a>", "title": "\u5446\u9f20\u306e\u52d5\u6f2b\u3001\u65e5\u6587\u97f3\u6a02\u53f0
251
- 24hr Live\uff01\uff01", "image_url_tiny": "http://static-cdn.jtvnw.net/jtv_user_pictures/cjs123456-profile_image-a7ba7ca354a234c2-50x50.jpeg",
252
- "screen_cap_url_large": "http://static-cdn.jtvnw.net/previews/live_user_cjs123456-320x240.jpg",
253
- "embed_enabled": true, "status": "\u3008\u7d14\u97f3\u6a02\u5206\u6d41\u3009\u52d5\u6f2b(Anime)\u3001\u65e5\u6587(Jpop)
254
- Music 24hr \u653e\u9001\u4e2d~~", "meta_game": "", "tags": null, "image_url_small":
255
- "http://static-cdn.jtvnw.net/jtv_user_pictures/cjs123456-profile_image-a7ba7ca354a234c2-70x70.jpeg",
256
- "screen_cap_url_medium": "http://static-cdn.jtvnw.net/previews/live_user_cjs123456-150x113.jpg",
257
- "language": "zh-tw", "channel_url": "http://www.justin.tv/cjs123456", "subcategory_title":
258
- "Music", "image_url_medium": "http://static-cdn.jtvnw.net/jtv_user_pictures/cjs123456-profile_image-a7ba7ca354a234c2-150x150.jpeg",
259
- "image_url_large": "http://static-cdn.jtvnw.net/jtv_user_pictures/cjs123456-profile_image-a7ba7ca354a234c2-300x300.jpeg",
260
- "mature": null, "screen_cap_url_small": "http://static-cdn.jtvnw.net/previews/live_user_cjs123456-70x53.jpg",
261
- "login": "cjs123456", "category_title": "Entertainment"}, "up_time": "Fri
262
- May 10 05:56:37 2013", "format": "live", "channel_count": 0, "embed_count":
263
- 0, "abuse_reported": false, "video_width": 800, "stream_type": "live", "name":
264
- "live_user_cjs123456", "language": "zh-tw", "stream_count": 0, "video_bitrate":
265
- 359.984375, "channel_id": 25251409, "broadcaster": "fme", "video_codec": "AVC",
266
- "channel_view_count": 31464}, {"subcategory": "radio_stations", "broadcast_part":
267
- 137, "featured": false, "channel_subscription": false, "audio_codec": "none",
268
- "id": "5628504544", "category": "entertainment", "title": "", "geo": "ES",
269
- "video_height": 240, "site_count": 0, "embed_enabled": false, "channel": {"views_count":
270
- 90620, "producer": false, "image_url_huge": "http://static-cdn.jtvnw.net/jtv_user_pictures/estacionoxigeno-profile_image-VytS5elM8Fc9juM-600x600.png",
271
- "timezone": "Europe/Madrid", "screen_cap_url_huge": "http://static-cdn.jtvnw.net/previews/live_user_estacionoxigeno-630x473.jpg",
272
- "id": "5628504544", "subcategory": "radio_stations", "category": "entertainment",
273
- "embed_code": "<object type=\"application/x-shockwave-flash\" data=\"http://www.justin.tv/widgets/live_embed_player.swf?channel=estacionoxigeno\"
274
- id=\"live_embed_player_flash\" height=\"300\" width=\"400\" bgcolor=\"#000000\"><param
275
- name=\"allowFullScreen\" value=\"true\"/><param name=\"allowScriptAccess\"
276
- value=\"always\" /><param name=\"allowNetworking\" value=\"all\" /><param
277
- name=\"movie\" value=\"http://www.justin.tv/widgets/live_embed_player.swf\"
278
- /><param name=\"flashvars\" value=\"hostname=www.justin.tv&channel=estacionoxigeno&auto_play=false&start_volume=25\"
279
- /></object><a href=\"http://www.justin.tv/estacionoxigeno#r=-rid-&amp;s=em\"
280
- class=\"trk\" style=\"padding:2px 0px 4px; display:block; width:345px; font-weight:normal;
281
- font-size:10px; text-decoration:underline; text-align:center\">Watch live
282
- video from estacionoxigeno on www.justin.tv</a>", "title": "estacionoxigeno",
283
- "image_url_tiny": "http://static-cdn.jtvnw.net/jtv_user_pictures/estacionoxigeno-profile_image-VytS5elM8Fc9juM-50x50.png",
284
- "screen_cap_url_large": "http://static-cdn.jtvnw.net/previews/live_user_estacionoxigeno-320x240.jpg",
285
- "embed_enabled": false, "status": "", "meta_game": "", "tags": null, "image_url_small":
286
- "http://static-cdn.jtvnw.net/jtv_user_pictures/estacionoxigeno-profile_image-VytS5elM8Fc9juM-70x70.png",
287
- "screen_cap_url_medium": "http://static-cdn.jtvnw.net/previews/live_user_estacionoxigeno-150x113.jpg",
288
- "language": "es", "channel_url": "http://www.justin.tv/estacionoxigeno", "subcategory_title":
289
- "Radio Stations", "image_url_medium": "http://static-cdn.jtvnw.net/jtv_user_pictures/estacionoxigeno-profile_image-VytS5elM8Fc9juM-150x150.png",
290
- "image_url_large": "http://static-cdn.jtvnw.net/jtv_user_pictures/estacionoxigeno-profile_image-VytS5elM8Fc9juM-300x300.png",
291
- "mature": null, "screen_cap_url_small": "http://static-cdn.jtvnw.net/previews/live_user_estacionoxigeno-70x53.jpg",
292
- "login": "estacionoxigeno", "category_title": "Entertainment"}, "up_time":
293
- "Thu May 9 22:07:02 2013", "format": "live", "channel_count": 0, "embed_count":
294
- 0, "abuse_reported": false, "video_width": 320, "stream_type": "live", "name":
295
- "live_user_estacionoxigeno", "language": "es", "stream_count": 0, "video_bitrate":
296
- 47.140625, "channel_id": 26009544, "broadcaster": "fme", "video_codec": "AVC",
297
- "channel_view_count": 90131}, {"subcategory": "other_entertainment", "broadcast_part":
298
- 131, "featured": false, "channel_subscription": false, "audio_codec": "uncompressed",
299
- "id": "5629334512", "category": "entertainment", "title": "La t\u00e9l\u00e9
300
- des d\u00e9laiss\u00e9s", "geo": "CA", "video_height": 480, "site_count":
301
- 0, "embed_enabled": true, "channel": {"views_count": 23856, "producer": false,
302
- "image_url_huge": "http://static-cdn.jtvnw.net/jtv_user_pictures/douteuxtele-profile_image-O6h2F91GMPjSXz5-600x600.jpg",
303
- "timezone": "", "screen_cap_url_huge": "http://static-cdn.jtvnw.net/previews/live_user_douteuxtele-630x473.jpg",
304
- "id": "5629334512", "subcategory": "other_entertainment", "category": "entertainment",
305
- "embed_code": "<object type=\"application/x-shockwave-flash\" data=\"http://www.justin.tv/widgets/live_embed_player.swf?channel=douteuxtele\"
306
- id=\"live_embed_player_flash\" height=\"300\" width=\"400\" bgcolor=\"#000000\"><param
307
- name=\"allowFullScreen\" value=\"true\"/><param name=\"allowScriptAccess\"
308
- value=\"always\" /><param name=\"allowNetworking\" value=\"all\" /><param
309
- name=\"movie\" value=\"http://www.justin.tv/widgets/live_embed_player.swf\"
310
- /><param name=\"flashvars\" value=\"hostname=www.justin.tv&channel=douteuxtele&auto_play=false&start_volume=25\"
311
- /></object><a href=\"http://www.justin.tv/douteuxtele#r=-rid-&amp;s=em\" class=\"trk\"
312
- style=\"padding:2px 0px 4px; display:block; width:345px; font-weight:normal;
313
- font-size:10px; text-decoration:underline; text-align:center\">Watch live
314
- video from douteuxtele on www.justin.tv</a>", "title": "Douteux.tv, la t\u00e9l\u00e9
315
- des d\u00e9laiss\u00e9s", "image_url_tiny": "http://static-cdn.jtvnw.net/jtv_user_pictures/douteuxtele-profile_image-O6h2F91GMPjSXz5-50x50.jpg",
316
- "screen_cap_url_large": "http://static-cdn.jtvnw.net/previews/live_user_douteuxtele-320x240.jpg",
317
- "embed_enabled": true, "status": "La t\u00e9l\u00e9 des d\u00e9laiss\u00e9s",
318
- "meta_game": "", "tags": null, "image_url_small": "http://static-cdn.jtvnw.net/jtv_user_pictures/douteuxtele-profile_image-O6h2F91GMPjSXz5-70x70.jpg",
319
- "screen_cap_url_medium": "http://static-cdn.jtvnw.net/previews/live_user_douteuxtele-150x113.jpg",
320
- "language": "fr", "channel_url": "http://www.justin.tv/douteuxtele", "subcategory_title":
321
- "Other Entertainment", "image_url_medium": "http://static-cdn.jtvnw.net/jtv_user_pictures/douteuxtele-profile_image-O6h2F91GMPjSXz5-150x150.jpg",
322
- "image_url_large": "http://static-cdn.jtvnw.net/jtv_user_pictures/douteuxtele-profile_image-O6h2F91GMPjSXz5-300x300.jpg",
323
- "mature": null, "screen_cap_url_small": "http://static-cdn.jtvnw.net/previews/live_user_douteuxtele-70x53.jpg",
324
- "login": "douteuxtele", "category_title": "Entertainment"}, "up_time": "Fri
325
- May 10 01:07:47 2013", "format": "live", "channel_count": 0, "embed_count":
326
- 0, "abuse_reported": false, "video_width": 720, "stream_type": "live", "name":
327
- "live_user_douteuxtele", "language": "fr", "stream_count": 0, "video_bitrate":
328
- 925.6640625, "channel_id": 40974867, "broadcaster": "unknown_rtmp", "video_codec":
329
- "AVC", "channel_view_count": 23540}, {"subcategory": "radio_stations", "broadcast_part":
330
- 307, "featured": false, "channel_subscription": false, "audio_codec": "mp3",
331
- "id": "5597269552", "category": "entertainment", "title": "\u53f0\u7063\u5ee3\u64ad\u516c\u53f8
332
- \u677e\u5dba\u8f49\u64ad\u53f0 AM630\u7dda\u4e0a\u6536\u807d", "geo": "TW",
333
- "site_count": 0, "embed_enabled": true, "channel": {"views_count": 27941,
334
- "producer": false, "image_url_huge": "http://static-cdn.jtvnw.net/jtv_user_pictures/am630-profile_image-2008efb6a1280d66-600x600.jpeg",
335
- "timezone": "ROC", "screen_cap_url_huge": "http://static-cdn.jtvnw.net/previews/live_user_am630-630x473.jpg",
336
- "id": "5597269552", "subcategory": "radio_stations", "category": "entertainment",
337
- "embed_code": "<object type=\"application/x-shockwave-flash\" data=\"http://www.justin.tv/widgets/live_embed_player.swf?channel=am630\"
338
- id=\"live_embed_player_flash\" height=\"300\" width=\"400\" bgcolor=\"#000000\"><param
339
- name=\"allowFullScreen\" value=\"true\"/><param name=\"allowScriptAccess\"
340
- value=\"always\" /><param name=\"allowNetworking\" value=\"all\" /><param
341
- name=\"movie\" value=\"http://www.justin.tv/widgets/live_embed_player.swf\"
342
- /><param name=\"flashvars\" value=\"hostname=www.justin.tv&channel=am630&auto_play=false&start_volume=25\"
343
- /></object><a href=\"http://www.justin.tv/am630#r=-rid-&amp;s=em\" class=\"trk\"
344
- style=\"padding:2px 0px 4px; display:block; width:345px; font-weight:normal;
345
- font-size:10px; text-decoration:underline; text-align:center\">Watch live
346
- video from am630 on www.justin.tv</a>", "title": "am630", "image_url_tiny":
347
- "http://static-cdn.jtvnw.net/jtv_user_pictures/am630-profile_image-2008efb6a1280d66-50x50.jpeg",
348
- "screen_cap_url_large": "http://static-cdn.jtvnw.net/previews/live_user_am630-320x240.jpg",
349
- "embed_enabled": true, "status": "\u53f0\u7063\u5ee3\u64ad\u516c\u53f8 \u677e\u5dba\u8f49\u64ad\u53f0
350
- AM630\u7dda\u4e0a\u6536\u807d", "meta_game": "", "tags": null, "image_url_small":
351
- "http://static-cdn.jtvnw.net/jtv_user_pictures/am630-profile_image-2008efb6a1280d66-70x70.jpeg",
352
- "screen_cap_url_medium": "http://static-cdn.jtvnw.net/previews/live_user_am630-150x113.jpg",
353
- "language": "zh-TW", "channel_url": "http://www.justin.tv/am630", "subcategory_title":
354
- "Radio Stations", "image_url_medium": "http://static-cdn.jtvnw.net/jtv_user_pictures/am630-profile_image-2008efb6a1280d66-150x150.jpeg",
355
- "image_url_large": "http://static-cdn.jtvnw.net/jtv_user_pictures/am630-profile_image-2008efb6a1280d66-300x300.jpeg",
356
- "mature": null, "screen_cap_url_small": "http://static-cdn.jtvnw.net/previews/live_user_am630-70x53.jpg",
357
- "login": "am630", "category_title": "Entertainment"}, "up_time": "Mon May 6
358
- 08:48:51 2013", "format": "live", "channel_count": 0, "embed_count": 0, "abuse_reported":
359
- false, "stream_type": "live", "name": "live_user_am630", "language": "zh-TW",
360
- "stream_count": 0, "video_bitrate": 125.046875, "channel_id": 29504916, "broadcaster":
361
- "fme", "channel_view_count": 27606}]'
67
+ string: '{"_total":112,"_links":{"self":"https://api.twitch.tv/kraken/search/streams?limit=10&offset=0&q=starcraft","next":"https://api.twitch.tv/kraken/search/streams?limit=10&offset=10&q=starcraft"},"streams":[{"_id":13311787520,"game":"StarCraft
68
+ II: Heart of the Swarm","viewers":1866,"created_at":"2015-02-24T22:07:11Z","preview":{"small":"http://static-cdn.jtvnw.net/previews-ttv/live_user_desrowfighting-80x45.jpg","medium":"http://static-cdn.jtvnw.net/previews-ttv/live_user_desrowfighting-320x180.jpg","large":"http://static-cdn.jtvnw.net/previews-ttv/live_user_desrowfighting-640x360.jpg","template":"http://static-cdn.jtvnw.net/previews-ttv/live_user_desrowfighting-{width}x{height}.jpg"},"_links":{"self":"https://api.twitch.tv/kraken/streams/desrowfighting"},"channel":{"mature":false,"status":"SC2Remax
69
+ EP29 w/ desRow, NaNiwa, Morrow, Nathanias & Rifkin!","broadcaster_language":"en","display_name":"desRowfighting","game":"StarCraft
70
+ II: Heart of the Swarm","delay":0,"language":"en","_id":18785568,"name":"desrowfighting","created_at":"2010-12-16T19:51:06Z","updated_at":"2015-02-25T00:17:09Z","logo":"http://static-cdn.jtvnw.net/jtv_user_pictures/desrowfighting-profile_image-a463f0a21516bb84-300x300.png","banner":"http://static-cdn.jtvnw.net/jtv_user_pictures/desrowfighting-channel_header_image-25e2bef8d4d0ca5a-640x125.jpeg","video_banner":"http://static-cdn.jtvnw.net/jtv_user_pictures/desrowfighting-channel_offline_image-2b4d401f4f2fb3b8-640x360.png","background":null,"profile_banner":null,"profile_banner_background_color":null,"partner":true,"url":"http://www.twitch.tv/desrowfighting","views":9654869,"followers":27549,"_links":{"self":"https://api.twitch.tv/kraken/channels/desrowfighting","follows":"https://api.twitch.tv/kraken/channels/desrowfighting/follows","commercial":"https://api.twitch.tv/kraken/channels/desrowfighting/commercial","stream_key":"https://api.twitch.tv/kraken/channels/desrowfighting/stream_key","chat":"https://api.twitch.tv/kraken/chat/desrowfighting","features":"https://api.twitch.tv/kraken/channels/desrowfighting/features","subscriptions":"https://api.twitch.tv/kraken/channels/desrowfighting/subscriptions","editors":"https://api.twitch.tv/kraken/channels/desrowfighting/editors","teams":"https://api.twitch.tv/kraken/channels/desrowfighting/teams","videos":"https://api.twitch.tv/kraken/channels/desrowfighting/videos"}}},{"_id":13312792176,"game":"StarCraft
71
+ II: Heart of the Swarm","viewers":1420,"created_at":"2015-02-24T23:22:54Z","preview":{"small":"http://static-cdn.jtvnw.net/previews-ttv/live_user_crank-80x45.jpg","medium":"http://static-cdn.jtvnw.net/previews-ttv/live_user_crank-320x180.jpg","large":"http://static-cdn.jtvnw.net/previews-ttv/live_user_crank-640x360.jpg","template":"http://static-cdn.jtvnw.net/previews-ttv/live_user_crank-{width}x{height}.jpg"},"_links":{"self":"https://api.twitch.tv/kraken/streams/crank"},"channel":{"mature":false,"status":"Ax.CranK
72
+ - D63 Troll mission games http://www.gosucrank.com","broadcaster_language":"en","display_name":"Crank","game":"StarCraft
73
+ II: Heart of the Swarm","delay":0,"language":"ko","_id":29267852,"name":"crank","created_at":"2012-03-25T13:43:40Z","updated_at":"2015-02-25T00:16:35Z","logo":"http://static-cdn.jtvnw.net/jtv_user_pictures/crank-profile_image-33aabd816e3506ca-300x300.png","banner":"http://static-cdn.jtvnw.net/jtv_user_pictures/crank-channel_header_image-d5f2d14b0b6fe673-640x125.png","video_banner":"http://static-cdn.jtvnw.net/jtv_user_pictures/crank-channel_offline_image-b93ba5c29b60c140-640x360.png","background":null,"profile_banner":"http://static-cdn.jtvnw.net/jtv_user_pictures/crank-profile_banner-f241d4469fcde0ff-480.png","profile_banner_background_color":"#404040","partner":true,"url":"http://www.twitch.tv/crank","views":1413951,"followers":15094,"_links":{"self":"https://api.twitch.tv/kraken/channels/crank","follows":"https://api.twitch.tv/kraken/channels/crank/follows","commercial":"https://api.twitch.tv/kraken/channels/crank/commercial","stream_key":"https://api.twitch.tv/kraken/channels/crank/stream_key","chat":"https://api.twitch.tv/kraken/chat/crank","features":"https://api.twitch.tv/kraken/channels/crank/features","subscriptions":"https://api.twitch.tv/kraken/channels/crank/subscriptions","editors":"https://api.twitch.tv/kraken/channels/crank/editors","teams":"https://api.twitch.tv/kraken/channels/crank/teams","videos":"https://api.twitch.tv/kraken/channels/crank/videos"}}},{"_id":13312650992,"game":"StarCraft
74
+ II: Heart of the Swarm","viewers":324,"created_at":"2015-02-24T23:12:11Z","preview":{"small":"http://static-cdn.jtvnw.net/previews-ttv/live_user_ogamingsc2-80x45.jpg","medium":"http://static-cdn.jtvnw.net/previews-ttv/live_user_ogamingsc2-320x180.jpg","large":"http://static-cdn.jtvnw.net/previews-ttv/live_user_ogamingsc2-640x360.jpg","template":"http://static-cdn.jtvnw.net/previews-ttv/live_user_ogamingsc2-{width}x{height}.jpg"},"_links":{"self":"https://api.twitch.tv/kraken/streams/ogamingsc2"},"channel":{"mature":false,"status":"[FR] MoMaN
75
+ en Ladder qui est chaud pour le defi : contre Anoss <3","broadcaster_language":"fr","display_name":"OgamingSC2","game":"StarCraft
76
+ II: Heart of the Swarm","delay":0,"language":"fr","_id":71852806,"name":"ogamingsc2","created_at":"2014-09-24T15:06:58Z","updated_at":"2015-02-25T00:16:59Z","logo":"http://static-cdn.jtvnw.net/jtv_user_pictures/ogamingsc2-profile_image-2bf049345c735a27-300x300.jpeg","banner":null,"video_banner":"http://static-cdn.jtvnw.net/jtv_user_pictures/ogamingsc2-channel_offline_image-6984aa785a3e5b58-640x360.jpeg","background":null,"profile_banner":"http://static-cdn.jtvnw.net/jtv_user_pictures/ogamingsc2-profile_banner-d418aed2c0ef7d35-480.jpeg","profile_banner_background_color":"null","partner":true,"url":"http://www.twitch.tv/ogamingsc2","views":2370634,"followers":10073,"_links":{"self":"https://api.twitch.tv/kraken/channels/ogamingsc2","follows":"https://api.twitch.tv/kraken/channels/ogamingsc2/follows","commercial":"https://api.twitch.tv/kraken/channels/ogamingsc2/commercial","stream_key":"https://api.twitch.tv/kraken/channels/ogamingsc2/stream_key","chat":"https://api.twitch.tv/kraken/chat/ogamingsc2","features":"https://api.twitch.tv/kraken/channels/ogamingsc2/features","subscriptions":"https://api.twitch.tv/kraken/channels/ogamingsc2/subscriptions","editors":"https://api.twitch.tv/kraken/channels/ogamingsc2/editors","teams":"https://api.twitch.tv/kraken/channels/ogamingsc2/teams","videos":"https://api.twitch.tv/kraken/channels/ogamingsc2/videos"}}},{"_id":13311503776,"game":"StarCraft
77
+ II: Heart of the Swarm","viewers":306,"created_at":"2015-02-24T21:47:04Z","preview":{"small":"http://static-cdn.jtvnw.net/previews-ttv/live_user_kaitlyn-80x45.jpg","medium":"http://static-cdn.jtvnw.net/previews-ttv/live_user_kaitlyn-320x180.jpg","large":"http://static-cdn.jtvnw.net/previews-ttv/live_user_kaitlyn-640x360.jpg","template":"http://static-cdn.jtvnw.net/previews-ttv/live_user_kaitlyn-{width}x{height}.jpg"},"_links":{"self":"https://api.twitch.tv/kraken/streams/kaitlyn"},"channel":{"mature":false,"status":"kaitlyn
78
+ - GM Zerg ! trying KR again again again.... again!","broadcaster_language":"en","display_name":"kaitlyn","game":"StarCraft
79
+ II: Heart of the Swarm","delay":0,"language":"en","_id":32882103,"name":"kaitlyn","created_at":"2012-08-09T17:33:48Z","updated_at":"2015-02-25T00:16:50Z","logo":"http://static-cdn.jtvnw.net/jtv_user_pictures/kaitlyn-profile_image-e7a0d995b85ab464-300x300.jpeg","banner":"http://static-cdn.jtvnw.net/jtv_user_pictures/kaitlyn-channel_header_image-60cc2fd8cf1d9f91-640x125.png","video_banner":null,"background":null,"profile_banner":null,"profile_banner_background_color":null,"partner":true,"url":"http://www.twitch.tv/kaitlyn","views":2418309,"followers":33038,"_links":{"self":"https://api.twitch.tv/kraken/channels/kaitlyn","follows":"https://api.twitch.tv/kraken/channels/kaitlyn/follows","commercial":"https://api.twitch.tv/kraken/channels/kaitlyn/commercial","stream_key":"https://api.twitch.tv/kraken/channels/kaitlyn/stream_key","chat":"https://api.twitch.tv/kraken/chat/kaitlyn","features":"https://api.twitch.tv/kraken/channels/kaitlyn/features","subscriptions":"https://api.twitch.tv/kraken/channels/kaitlyn/subscriptions","editors":"https://api.twitch.tv/kraken/channels/kaitlyn/editors","teams":"https://api.twitch.tv/kraken/channels/kaitlyn/teams","videos":"https://api.twitch.tv/kraken/channels/kaitlyn/videos"}}},{"_id":13308834176,"game":"StarCraft
80
+ II: Heart of the Swarm","viewers":248,"created_at":"2015-02-24T18:43:04Z","preview":{"small":"http://static-cdn.jtvnw.net/previews-ttv/live_user_protech-80x45.jpg","medium":"http://static-cdn.jtvnw.net/previews-ttv/live_user_protech-320x180.jpg","large":"http://static-cdn.jtvnw.net/previews-ttv/live_user_protech-640x360.jpg","template":"http://static-cdn.jtvnw.net/previews-ttv/live_user_protech-{width}x{height}.jpg"},"_links":{"self":"https://api.twitch.tv/kraken/streams/protech"},"channel":{"mature":true,"status":"ProTech''s
81
+ 2v2 Stream https://www.youtube.com/user/omik3y0","broadcaster_language":"en","display_name":"ProTech","game":"StarCraft
82
+ II: Heart of the Swarm","delay":0,"language":"en","_id":21124554,"name":"protech","created_at":"2011-03-14T10:46:33Z","updated_at":"2015-02-25T00:17:19Z","logo":"http://static-cdn.jtvnw.net/jtv_user_pictures/protech-profile_image-6267bafa2ec128f3-300x300.jpeg","banner":"http://static-cdn.jtvnw.net/jtv_user_pictures/protech-channel_header_image-0690de35cb470858-640x125.jpeg","video_banner":"http://static-cdn.jtvnw.net/jtv_user_pictures/protech-channel_offline_image-89aeeb0aab87d7ba-640x360.jpeg","background":null,"profile_banner":"http://static-cdn.jtvnw.net/jtv_user_pictures/protech-profile_banner-bc04c0d84aed2ea7-480.jpeg","profile_banner_background_color":"#000000","partner":true,"url":"http://www.twitch.tv/protech","views":25336965,"followers":19518,"_links":{"self":"https://api.twitch.tv/kraken/channels/protech","follows":"https://api.twitch.tv/kraken/channels/protech/follows","commercial":"https://api.twitch.tv/kraken/channels/protech/commercial","stream_key":"https://api.twitch.tv/kraken/channels/protech/stream_key","chat":"https://api.twitch.tv/kraken/chat/protech","features":"https://api.twitch.tv/kraken/channels/protech/features","subscriptions":"https://api.twitch.tv/kraken/channels/protech/subscriptions","editors":"https://api.twitch.tv/kraken/channels/protech/editors","teams":"https://api.twitch.tv/kraken/channels/protech/teams","videos":"https://api.twitch.tv/kraken/channels/protech/videos"}}},{"_id":13312775568,"game":"StarCraft
83
+ II: Heart of the Swarm","viewers":221,"created_at":"2015-02-24T23:21:43Z","preview":{"small":"http://static-cdn.jtvnw.net/previews-ttv/live_user_incontroltv-80x45.jpg","medium":"http://static-cdn.jtvnw.net/previews-ttv/live_user_incontroltv-320x180.jpg","large":"http://static-cdn.jtvnw.net/previews-ttv/live_user_incontroltv-640x360.jpg","template":"http://static-cdn.jtvnw.net/previews-ttv/live_user_incontroltv-{width}x{height}.jpg"},"_links":{"self":"https://api.twitch.tv/kraken/streams/incontroltv"},"channel":{"mature":false,"status":"SC2
84
+ then CSGO for today!","broadcaster_language":"en","display_name":"iNcontroLTV","game":"StarCraft
85
+ II: Heart of the Swarm","delay":0,"language":"en","_id":20248706,"name":"incontroltv","created_at":"2011-02-07T06:24:25Z","updated_at":"2015-02-25T00:18:04Z","logo":"http://static-cdn.jtvnw.net/jtv_user_pictures/incontroltv-profile_image-0d27ec5834a2fc79-300x300.jpeg","banner":null,"video_banner":"http://static-cdn.jtvnw.net/jtv_user_pictures/incontroltv-channel_offline_image-0914da708fec7197-640x360.jpeg","background":null,"profile_banner":"http://static-cdn.jtvnw.net/jtv_user_pictures/incontroltv-profile_banner-c653a967e87e75a2-480.jpeg","profile_banner_background_color":null,"partner":true,"url":"http://www.twitch.tv/incontroltv","views":15847755,"followers":60590,"_links":{"self":"https://api.twitch.tv/kraken/channels/incontroltv","follows":"https://api.twitch.tv/kraken/channels/incontroltv/follows","commercial":"https://api.twitch.tv/kraken/channels/incontroltv/commercial","stream_key":"https://api.twitch.tv/kraken/channels/incontroltv/stream_key","chat":"https://api.twitch.tv/kraken/chat/incontroltv","features":"https://api.twitch.tv/kraken/channels/incontroltv/features","subscriptions":"https://api.twitch.tv/kraken/channels/incontroltv/subscriptions","editors":"https://api.twitch.tv/kraken/channels/incontroltv/editors","teams":"https://api.twitch.tv/kraken/channels/incontroltv/teams","videos":"https://api.twitch.tv/kraken/channels/incontroltv/videos"}}},{"_id":13313440416,"game":"StarCraft
86
+ II: Heart of the Swarm","viewers":135,"created_at":"2015-02-25T00:11:48Z","preview":{"small":"http://static-cdn.jtvnw.net/previews-ttv/live_user_gretorptv-80x45.jpg","medium":"http://static-cdn.jtvnw.net/previews-ttv/live_user_gretorptv-320x180.jpg","large":"http://static-cdn.jtvnw.net/previews-ttv/live_user_gretorptv-640x360.jpg","template":"http://static-cdn.jtvnw.net/previews-ttv/live_user_gretorptv-{width}x{height}.jpg"},"_links":{"self":"https://api.twitch.tv/kraken/streams/gretorptv"},"channel":{"mature":null,"status":"Learn
87
+ to Play: Starcraft","broadcaster_language":"en","display_name":"GretorpTV","game":"StarCraft
88
+ II: Heart of the Swarm","delay":0,"language":"en","_id":18906953,"name":"gretorptv","created_at":"2010-12-21T03:58:50Z","updated_at":"2015-02-25T00:16:18Z","logo":"http://static-cdn.jtvnw.net/jtv_user_pictures/gretorptv-profile_image-385d29c32e324f0a-300x300.jpeg","banner":null,"video_banner":null,"background":null,"profile_banner":null,"profile_banner_background_color":null,"partner":true,"url":"http://www.twitch.tv/gretorptv","views":796497,"followers":3288,"_links":{"self":"https://api.twitch.tv/kraken/channels/gretorptv","follows":"https://api.twitch.tv/kraken/channels/gretorptv/follows","commercial":"https://api.twitch.tv/kraken/channels/gretorptv/commercial","stream_key":"https://api.twitch.tv/kraken/channels/gretorptv/stream_key","chat":"https://api.twitch.tv/kraken/chat/gretorptv","features":"https://api.twitch.tv/kraken/channels/gretorptv/features","subscriptions":"https://api.twitch.tv/kraken/channels/gretorptv/subscriptions","editors":"https://api.twitch.tv/kraken/channels/gretorptv/editors","teams":"https://api.twitch.tv/kraken/channels/gretorptv/teams","videos":"https://api.twitch.tv/kraken/channels/gretorptv/videos"}}},{"_id":13313723728,"game":"StarCraft
89
+ II: Heart of the Swarm","viewers":9,"created_at":"2015-02-25T00:33:51Z","preview":{"small":"http://static-cdn.jtvnw.net/previews-ttv/live_user_pilipili96-80x45.jpg","medium":"http://static-cdn.jtvnw.net/previews-ttv/live_user_pilipili96-320x180.jpg","large":"http://static-cdn.jtvnw.net/previews-ttv/live_user_pilipili96-640x360.jpg","template":"http://static-cdn.jtvnw.net/previews-ttv/live_user_pilipili96-{width}x{height}.jpg"},"_links":{"self":"https://api.twitch.tv/kraken/streams/pilipili96"},"channel":{"mature":false,"status":"TOP
90
+ GM Protoss with commentary! ","broadcaster_language":"en","display_name":"PiLiPiLi96","game":"StarCraft
91
+ II: Heart of the Swarm","delay":0,"language":"en","_id":45018023,"name":"pilipili96","created_at":"2013-06-21T07:59:33Z","updated_at":"2015-02-25T00:33:51Z","logo":"http://static-cdn.jtvnw.net/jtv_user_pictures/pilipili96-profile_image-5b9a4285419cc99f-300x300.png","banner":null,"video_banner":"http://static-cdn.jtvnw.net/jtv_user_pictures/pilipili96-channel_offline_image-0c30b92992a90f55-640x360.jpeg","background":null,"profile_banner":"http://static-cdn.jtvnw.net/jtv_user_pictures/pilipili96-profile_banner-572cea6967ea9716-480.jpeg","profile_banner_background_color":null,"partner":false,"url":"http://www.twitch.tv/pilipili96","views":256020,"followers":6550,"_links":{"self":"https://api.twitch.tv/kraken/channels/pilipili96","follows":"https://api.twitch.tv/kraken/channels/pilipili96/follows","commercial":"https://api.twitch.tv/kraken/channels/pilipili96/commercial","stream_key":"https://api.twitch.tv/kraken/channels/pilipili96/stream_key","chat":"https://api.twitch.tv/kraken/chat/pilipili96","features":"https://api.twitch.tv/kraken/channels/pilipili96/features","subscriptions":"https://api.twitch.tv/kraken/channels/pilipili96/subscriptions","editors":"https://api.twitch.tv/kraken/channels/pilipili96/editors","teams":"https://api.twitch.tv/kraken/channels/pilipili96/teams","videos":"https://api.twitch.tv/kraken/channels/pilipili96/videos"}}},{"_id":13299689360,"game":"StarCraft:
92
+ Brood War","viewers":8,"created_at":"2015-02-24T01:03:49Z","preview":{"small":"http://static-cdn.jtvnw.net/previews-ttv/live_user_snipealot2-80x45.jpg","medium":"http://static-cdn.jtvnw.net/previews-ttv/live_user_snipealot2-320x180.jpg","large":"http://static-cdn.jtvnw.net/previews-ttv/live_user_snipealot2-640x360.jpg","template":"http://static-cdn.jtvnw.net/previews-ttv/live_user_snipealot2-{width}x{height}.jpg"},"_links":{"self":"https://api.twitch.tv/kraken/streams/snipealot2"},"channel":{"mature":false,"status":"41TV","broadcaster_language":null,"display_name":"snipealot2","game":"StarCraft:
93
+ Brood War","delay":0,"language":"en","_id":36329968,"name":"snipealot2","created_at":"2012-09-21T06:03:59Z","updated_at":"2015-02-25T00:18:02Z","logo":"http://static-cdn.jtvnw.net/jtv_user_pictures/snipealot2-profile_image-d896cd66d334d79e-300x300.jpeg","banner":null,"video_banner":null,"background":null,"profile_banner":null,"profile_banner_background_color":null,"partner":true,"url":"http://www.twitch.tv/snipealot2","views":5169961,"followers":4300,"_links":{"self":"https://api.twitch.tv/kraken/channels/snipealot2","follows":"https://api.twitch.tv/kraken/channels/snipealot2/follows","commercial":"https://api.twitch.tv/kraken/channels/snipealot2/commercial","stream_key":"https://api.twitch.tv/kraken/channels/snipealot2/stream_key","chat":"https://api.twitch.tv/kraken/chat/snipealot2","features":"https://api.twitch.tv/kraken/channels/snipealot2/features","subscriptions":"https://api.twitch.tv/kraken/channels/snipealot2/subscriptions","editors":"https://api.twitch.tv/kraken/channels/snipealot2/editors","teams":"https://api.twitch.tv/kraken/channels/snipealot2/teams","videos":"https://api.twitch.tv/kraken/channels/snipealot2/videos"}}}]}'
362
94
  http_version:
363
- recorded_at: Mon, 13 May 2013 01:15:45 GMT
364
- recorded_with: VCR 2.4.0
95
+ recorded_at: Wed, 25 Feb 2015 00:39:20 GMT
96
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,70 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.twitch.tv/kraken/streams/summary.json
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ User-Agent:
13
+ - Jtv Gem
14
+ Authorization:
15
+ - OAuth oauth_consumer_key="", oauth_nonce="098174bd2d58c2e8b20c5ab9d36d9fa7",
16
+ oauth_signature="H5YhgKp0cc8kTwBlYesWQhpzPNY%3D", oauth_signature_method="HMAC-SHA1",
17
+ oauth_timestamp="1424824759", oauth_token="", oauth_version="1.0"
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Server:
26
+ - nginx
27
+ Date:
28
+ - Wed, 25 Feb 2015 00:39:19 GMT
29
+ Content-Type:
30
+ - application/json; charset=utf-8
31
+ Content-Length:
32
+ - '115'
33
+ Connection:
34
+ - keep-alive
35
+ Status:
36
+ - 200 OK
37
+ X-Api-Version:
38
+ - '3'
39
+ X-Frame-Options:
40
+ - SAMEORIGIN
41
+ Cache-Control:
42
+ - max-age=60, public
43
+ Vary:
44
+ - Accept-Encoding
45
+ X-Ua-Compatible:
46
+ - IE=Edge,chrome=1
47
+ Etag:
48
+ - '"759bc179e408ad159672445ea5107a0b"'
49
+ X-Request-Id:
50
+ - cb30397b7edaffba27997c679d0415f9
51
+ X-Runtime:
52
+ - '0.342932'
53
+ Accept-Ranges:
54
+ - bytes
55
+ X-Varnish:
56
+ - '2681480993'
57
+ Age:
58
+ - '0'
59
+ Via:
60
+ - 1.1 varnish
61
+ X-Mh-Cache:
62
+ - appcache2; M
63
+ Front-End-Https:
64
+ - 'on'
65
+ body:
66
+ encoding: UTF-8
67
+ string: '{"channels":18724,"viewers":516508,"_links":{"self":"https://api.twitch.tv/kraken/streams/summary"}}'
68
+ http_version:
69
+ recorded_at: Wed, 25 Feb 2015 00:39:19 GMT
70
+ recorded_with: VCR 2.9.3