[Web API]
getzappinglist
現在放送中の一覧を得る。
リクエスト URL
GET http://live.nicovideo.jp/api/getzappinglist?zroute={mode}&zpage={page} (option: &tab={category}&sort={sort}&order={order}, recent のみ指定可能)
- mode
モード。index または recent (recent には予約リストがない) - page
ページ番号 - category
カテゴリー ※1 - sort
ソート方法 ※2 - order
順番。desc, asc (無指定は asc) - tags
タグ (オプション)
※1: common (一般), try (やってみた), live (ゲーム), req (動画紹介), face (顔出し), totu (凸待ち), r18 (R-18)
※2: start_time (放送日時が近い順), view_counter (来場者数が多い順), comment_num (コメント数が多い順), community_level (コミュニティーレベルが高い順), community_create_time (コミュニティーが新しい順), 表記は desc 順の場合
※2: start_time (放送日時が近い順), view_counter (来場者数が多い順), comment_num (コメント数が多い順), community_level (コミュニティーレベルが高い順), community_create_time (コミュニティーが新しい順), 表記は desc 順の場合
データ形式
JSON 形式。
データサンプル
zroute=index の場合
{
"onair_stream_list": [
{
"hide_zapping": false,
"id": "174867835",
"is_nsen": false,
"is_product": false,
"is_zapping_mode_enabled": true,
"thumbnail_small_url": "http://nl.simg.jp/img/a122/363321.100d36.jpg",
"title": "【公式】NGC『ファイナルファンタジーXIV: ",
"view_counter": 49598
},
{
"hide_zapping": false,
"id": "176797171",
"is_nsen": false,
"is_product": false,
"is_zapping_mode_enabled": true,
"thumbnail_small_url": "http://live.nicovideo.jp/thumb/9980.60x60.jpg",
"title": "ニコ生クルーズ",
"view_counter": 162428
}
],
"reserved_stream_list": [
{
"gauge_level": 0,
"hide_zapping": false,
"id": "176802225",
"is_nsen": false,
"is_product": true,
"is_zapping_mode_enabled": true,
"open_time": 1398122820,
"thumbnail_small_url": "http://nl.simg.jp/img/a125/374374.36d363.jpg",
"title": "NIKKEI Channel<Markets>",
"view_counter": "-"
}
]
}
zroute=recent (&tab=r18&sort=start_time&order=asc) の場合
{
"onair_stream_list": [
{
"hide_zapping": false,
"id": "176990361",
"is_nsen": false,
"is_product": false,
"is_zapping_mode_enabled": true,
"thumbnail_small_url": "http://icon.nimg.jp/community/s/215/co2158245.jpg?1398120221",
"title": "エロゲソング垂れ流し",
"view_counter": 1
},
{
"hide_zapping": false,
"id": "176990501",
"is_nsen": false,
"is_product": false,
"is_zapping_mode_enabled": true,
"thumbnail_small_url": "http://icon.nimg.jp/community/s/104/co1046930.jpg?1397967190",
"title": "お気に入りのエロゲソングを聞いちゃお...",
"view_counter": 4
},
{
"hide_zapping": false,
"id": "176990598",
"is_nsen": false,
"is_product": false,
"is_zapping_mode_enabled": true,
"thumbnail_small_url": "http://icon.nimg.jp/community/s/48/co489398.jpg?1393136759",
"title": "エロゲソング化計画2010~2014(リク受付中",
"view_counter": 0
}
]
}
更新履歴
2014/4/22 記述