ニコニコAPIリストwiki

V1-video.array

最終更新:

nicoapi

- view
だれでも歓迎! 編集
[Vita API, Version 1]

video.array

複数の番組情報を得る。

リクエスト URL

  • format
        xml または json (デフォルト=無指定は xml)
  • id
        番組 IDs (カンマ区切り)

データ形式

XML または JSON 形式。

データサンプル

__format=json&v=lv185133080,lv185133079 の場合

{
    "nicolive_video_response": {
        "@status": "ok", 
        "count": "2", 
        "video_info": [
            {
                "community": {
                    "channel_id": "", 
                    "global_id": "co1697990", 
                    "id": "1697990", 
                    "name": "ワナップ!~リュークゲーム放送局~", 
                    "thumbnail": "http://icon.nimg.jp/community/169/co1697990.jpg?1403534137", 
                    "thumbnail_small": "http://icon.nimg.jp/community/s/169/co1697990.jpg?1403534137"
                }, 
                "video": {
                    "_ts_reserved_count": "2", 
                    "channel_only": "0", 
                    "comment_count": "58", 
                    "community_only": "0", 
                    "end_time": "2014-07-05 09:17:56", 
                    "hidescore_comment": "0", 
                    "hidescore_online": "0", 
                    "id": "lv185133080", 
                    "is_hq": "0", 
                    "open_time": "2014-07-05 08:46:49", 
                    "provider_type": "community", 
                    "related_channel_id": "", 
                    "schedule_end_time": "", 
                    "start_time": "2014-07-05 08:47:56", 
                    "timeshift_enabled": "0", 
                    "title": "【PS実機配信】『グラディウス外伝の朝練習☆』【コンティニュー3279回目】", 
                    "view_counter": "59"
                }
            }, 
            {
                "community": {
                    "channel_id": "", 
                    "global_id": "co2386756", 
                    "id": "2386756", 
                    "name": "医療の休憩所", 
                    "thumbnail": "http://icon.nimg.jp/community/238/co2386756.jpg?1402933849", 
                    "thumbnail_small": "http://icon.nimg.jp/community/s/238/co2386756.jpg?1402933849"
                }, 
                "video": {
                    "_ts_reserved_count": "0", 
                    "channel_only": "0", 
                    "comment_count": "42", 
                    "community_only": "0", 
                    "end_time": "2014-07-05 09:17:27", 
                    "hidescore_comment": "0", 
                    "hidescore_online": "0", 
                    "id": "lv185133079", 
                    "is_hq": "0", 
                    "open_time": "2014-07-05 08:46:46", 
                    "provider_type": "community", 
                    "related_channel_id": "", 
                    "schedule_end_time": "", 
                    "start_time": "2014-07-05 08:47:27", 
                    "timeshift_enabled": "0", 
                    "title": "地雷少尉のプレマ", 
                    "view_counter": "17"
                }
            }
        ]
    }
} 

(__format=xml&)v=lv185133080,lv185133079 の場合

<?xml version='1.0' encoding='utf-8'?>
<nicolive_video_response status="ok">
  <video_info>
    <video>
      <id>lv185133080</id>
      <title>【PS実機配信】『グラディウス外伝の朝練習☆』【コンティニュー3279回目】</title>
      <open_time>2014-07-05 08:46:49</open_time>
      <start_time>2014-07-05 08:47:56</start_time>
      <schedule_end_time />
      <end_time>2014-07-05 09:17:56</end_time>
      <provider_type>community</provider_type>
      <related_channel_id />
      <hidescore_online>0</hidescore_online>
      <hidescore_comment>0</hidescore_comment>
      <community_only>0</community_only>
      <channel_only>0</channel_only>
      <view_counter>59</view_counter>
      <comment_count>58</comment_count>
      <_ts_reserved_count>2
      <timeshift_enabled>0</timeshift_enabled>
      <is_hq>0</is_hq>
    </video>
    <community>
      <id>1697990</id>
      <name>ワナップ!~リュークゲーム放送局~</name>
      <channel_id />
      <global_id>co1697990</global_id>
      <thumbnail>http://icon.nimg.jp/community/169/co1697990.jpg?1403534137</thumbnail>
      <thumbnail_small>http://icon.nimg.jp/community/s/169/co1697990.jpg?1403534137</thumbnail_small>
    </community>
  </video_info>
  <video_info>
    <video>
      <id>lv185133079</id>
      <title>地雷少尉のプレマ</title>
      <open_time>2014-07-05 08:46:46</open_time>
      <start_time>2014-07-05 08:47:27</start_time>
      <schedule_end_time />
      <end_time>2014-07-05 09:17:27</end_time>
      <provider_type>community</provider_type>
      <related_channel_id />
      <hidescore_online>0</hidescore_online>
      <hidescore_comment>0</hidescore_comment>
      <community_only>0</community_only>
      <channel_only>0</channel_only>
      <view_counter>17</view_counter>
      <comment_count>42</comment_count>
      <_ts_reserved_count>0</_ts_reserved_count>
      <timeshift_enabled>0</timeshift_enabled>
      <is_hq>0</is_hq>
    </video>
    <community>
      <id>2386756</id>
      <name>医療の休憩所</name>
      <channel_id />
      <global_id>co2386756</global_id>
      <thumbnail>http://icon.nimg.jp/community/238/co2386756.jpg?1402933849</thumbnail>
      <thumbnail_small>http://icon.nimg.jp/community/s/238/co2386756.jpg?1402933849</thumbnail_small>
    </community>
  </video_info>
  <count>2</count>
</nicolive_video_response> 

更新履歴

2014/7/5 記述
人気記事ランキング
最近更新されたページ