[Vita API, Version 1]
video.onairlist
現在放送中の一覧を得る。
リクエスト URL
GET http://api.ce.nicovideo.jp/liveapi/v1/video.onairlist?__format={format}&from={from}&limit={length}&order={order}&pt={provider}&sort={sort}
- format
xml または json (デフォルト=無指定は xml) - from
取得開始 index - length
取得件数。最大 149 件 - order
順番。d, a (無指定は a) - provider
official, channel, community または無指定 (無指定はすべて) - sort
start_time (放送日時が近い順) または view_counter (来場者数が多い順), comment_num (コメント数の少ない順)
データ形式
XML または JSON 形式。
データサンプル
__format=json&pt=official の場合
{
"nicolive_video_response": {
"@status": "ok",
"count": "2",
"total_count": "4",
"video_info": [
{
"community": "",
"video": {
"_picture_url": "http://nl.simg.jp/img/a129/384688.e6ff3b.jpg",
"_thumbnail_url": "http://nl.simg.jp/img/a129/384687.ef72af.jpg",
"_ts_reserved_count": "1410",
"channel_only": "0",
"comment_count": "48768",
"community_only": "0",
"end_time": "2014-05-19 06:00:00",
"hidescore_comment": "0",
"hidescore_online": "0",
"id": "lv178782857",
"is_hq": "0",
"open_time": "2014-05-16 23:50:00",
"provider_type": "official",
"related_channel_id": "ch337",
"schedule_end_time": "2014-05-19 00:00:00",
"start_time": "2014-05-17 00:00:00",
"timeshift_enabled": "1",
"title": "映画「ガチバン」シリーズ全15作 無料一挙上映会",
"view_counter": "106025"
}
},
{
"community": "",
"video": {
"_picture_url": "http://nl.simg.jp/img/a126/377399.c5f5c7.jpg",
"_thumbnail_url": "http://nl.simg.jp/img/a126/377398.64a10c.jpg",
"_ts_reserved_count": "5569",
"channel_only": "0",
"comment_count": "1784",
"community_only": "0",
"end_time": "2014-05-18 00:00:00",
"hidescore_comment": "0",
"hidescore_online": "0",
"id": "lv176080350",
"is_hq": "1",
"open_time": "2014-05-17 15:50:00",
"provider_type": "official",
"related_channel_id": "ch290",
"schedule_end_time": "2014-05-17 18:00:00",
"start_time": "2014-05-17 16:00:00",
"timeshift_enabled": "1",
"title": "<ガンホー公式> 第2回パズドラジャパンカップ 中部地区予選大会",
"view_counter": "9670"
}
}
]
}
}
(__format=xml&)pt=official の場合
<nicolive_video_response status="ok">
<total_count>4</total_count>
<video_info>
<video>
<id>lv178782857</id>
<title>映画「ガチバン」シリーズ全15作 無料一挙上映会</title>
<open_time>2014-05-16 23:50:00</open_time>
<start_time>2014-05-17 00:00:00</start_time>
<schedule_end_time>2014-05-19 00:00:00</schedule_end_time>
<end_time>2014-05-19 06:00:00</end_time>
<provider_type>official</provider_type>
<related_channel_id>ch337</related_channel_id>
<_thumbnail_url>http://nl.simg.jp/img/a129/384687.ef72af.jpg</_thumbnail_url>
<_picture_url>http://nl.simg.jp/img/a129/384688.e6ff3b.jpg</_picture_url>
<hidescore_online>0</hidescore_online>
<hidescore_comment>0</hidescore_comment>
<community_only>0</community_only>
<channel_only>0</channel_only>
<view_counter>106955</view_counter>
<comment_count>49681</comment_count>
<_ts_reserved_count>1414</_ts_reserved_count>
<timeshift_enabled>1</timeshift_enabled>
<is_hq>0</is_hq>
</video>
<community></community>
</video_info>
<video_info>
<video>
<id>lv176080350</id>
<title><ガンホー公式> 第2回パズドラジャパンカップ 中部地区予選大会</title>
<open_time>2014-05-17 15:50:00</open_time>
<start_time>2014-05-17 16:00:00</start_time>
<schedule_end_time>2014-05-17 18:00:00</schedule_end_time>
<end_time>2014-05-18 00:00:00</end_time>
<provider_type>official</provider_type>
<related_channel_id>ch290</related_channel_id>
<_thumbnail_url>http://nl.simg.jp/img/a126/377398.64a10c.jpg</_thumbnail_url>
<_picture_url>http://nl.simg.jp/img/a126/377399.c5f5c7.jpg</_picture_url>
<hidescore_online>0</hidescore_online>
<hidescore_comment>0</hidescore_comment>
<community_only>0</community_only>
<channel_only>0</channel_only>
<view_counter>14467</view_counter>
<comment_count>3703</comment_count>
<_ts_reserved_count>5574</_ts_reserved_count>
<timeshift_enabled>1</timeshift_enabled>
<is_hq>1</is_hq>
</video>
<community></community>
</video_info>
<count>2</count>
</nicolive_video_response>
__format=json&pt=channel の場合
{
"nicolive_video_response": {
"@status": "ok",
"count": "3",
"total_count": "18",
"video_info": [
{
"community": {
"channel_id": "2582336",
"global_id": "ch2582336",
"id": "2170674",
"name": "ナルシストが止まらない I.D伝説",
"thumbnail": "http://icon.nimg.jp/channel/ch2582336.jpg?1399873447",
"thumbnail_small": "http://icon.nimg.jp/channel/s/ch2582336.jpg?1399873447"
},
"video": {
"_thumbnail_url": "http://nl.simg.jp/img/a129/384567.2b1e18.jpg",
"_ts_reserved_count": "39",
"channel_only": "0",
"comment_count": "2547",
"community_only": "0",
"end_time": "2014-05-18 00:00:00",
"hidescore_comment": "0",
"hidescore_online": "0",
"id": "lv178878016",
"is_hq": "0",
"open_time": "2014-05-16 23:57:00",
"provider_type": "channel",
"related_channel_id": "",
"schedule_end_time": "",
"start_time": "2014-05-17 00:00:00",
"timeshift_enabled": "0",
"title": "I.D 24時間生放送 in 韓国 vol.72",
"view_counter": "1093"
}
},
{
"community": {
"channel_id": "2590922",
"global_id": "ch2590922",
"id": "2312723",
"name": "パチスロ生配信「ガチなな」",
"thumbnail": "http://icon.nimg.jp/channel/ch2590922.jpg?1398842805",
"thumbnail_small": "http://icon.nimg.jp/channel/s/ch2590922.jpg?1398842805"
},
"video": {
"_thumbnail_url": "http://nl.simg.jp/img/a130/388951.edbbcd.jpg",
"_ts_reserved_count": "27",
"channel_only": "0",
"comment_count": "3133",
"community_only": "0",
"end_time": "2014-05-17 22:00:00",
"hidescore_comment": "0",
"hidescore_online": "0",
"id": "lv178685914",
"is_hq": "0",
"open_time": "2014-05-17 09:57:00",
"provider_type": "channel",
"related_channel_id": "",
"schedule_end_time": "",
"start_time": "2014-05-17 10:00:00",
"timeshift_enabled": "0",
"title": "【マクロスフロンティア2】入間チャンスランドBBよりガチ配信【初】",
"view_counter": "3003"
}
},
{
"community": {
"channel_id": "364",
"global_id": "ch364",
"id": "1415019",
"name": "オートレースオフィシャルチャンネル",
"thumbnail": "http://icon.nimg.jp/channel/ch364.jpg?1394436973",
"thumbnail_small": "http://icon.nimg.jp/channel/s/ch364.jpg?1394436973"
},
"video": {
"_thumbnail_url": "http://nl.simg.jp/img/a128/382544.0506ce.jpg",
"_ts_reserved_count": "15",
"channel_only": "0",
"comment_count": "910",
"community_only": "0",
"end_time": "2014-05-17 17:00:00",
"hidescore_comment": "0",
"hidescore_online": "0",
"id": "lv178430919",
"is_hq": "0",
"open_time": "2014-05-17 09:57:00",
"provider_type": "channel",
"related_channel_id": "",
"schedule_end_time": "",
"start_time": "2014-05-17 10:00:00",
"timeshift_enabled": "0",
"title": "オートレース 第5回浜松観光食堂杯フードアタック(浜松)3日目",
"view_counter": "1124"
}
}
]
}
}
関連API
- V1-video.comingsoon (データが同一構造)
更新履歴
2014/5/17 記述