[Vita API, Version 1]
video.search.solr
検索した一覧を得る。
リクエスト URL
GET http://api.ce.nicovideo.jp/liveapi/v1/video.search.solr?__format={format}&from={from}&limit={length}&kind={kind}&order={order}&search_mode={mode}&pt={provider}&sort={sort}&word={keyword}
- format
xml または json (デフォルト=無指定は xml) - from
取得開始 index - length
取得件数。最大 149 件 - kind
tags または無指定 (無指定はキーワード?) - order
順番。d, a (無指定は a) - mode
検索方法。onair, reserved または closed (無指定は onair) - provider
official, channel または community - sort
ソート方法。recent または comment [コメント数] (無指定は recent) - word
検索ワード
データ形式
XML または JSON 形式。
データサンプル
(__format=xml&)from=0&limit=5&word=PS4&sort=comment の場合
<?xml version="1.0" encoding="UTF-8"?>
<nicolive_video_response status="ok">
<total_count>
<onair>21</onair>
<closed>29205</closed>
<reserved>30</reserved>
</total_count>
<count>5</count>
<is_terminate>0</is_terminate>
<tags>
<tag>
<name>PS3</name>
<count>3</count>
</tag>
<tag>
<name>Destiny</name>
<count>3</count>
</tag>
<tag>
<name>PSO2</name>
<count>2</count>
</tag>
<tag>
<name>雑談</name>
<count>2</count>
</tag>
<tag>
<name>BF4</name>
<count>2</count>
</tag>
<tag>
<name>クルーズ待ち</name>
<count>2</count>
</tag>
</tags>
<video_info>
<video>
<id>lv198351431</id>
<title>「Civilizataion Beyond Earth」我が軍の力は世界一イイイイイイ!! Part3</title>
<open_time>2014-10-30 04:27:00</open_time>
<start_time>2014-10-30 04:30:00</start_time>
<schedule_end_time/>
<end_time>2014-10-30 09:29:59</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>99</view_counter>
<comment_count>34</comment_count>
<_ts_reserved_count>0</_ts_reserved_count>
<timeshift_enabled>0</timeshift_enabled>
<is_hq>0</is_hq>
</video>
<community>
<id>1168366</id>
<name>Lさんの生放送vr3.3(゚∀゚)合言葉はキリッ!</name>
<channel_id/>
<global_id>co1168366</global_id>
<thumbnail>http://icon.nimg.jp/community/116/co1168366.jpg?1411227110</thumbnail>
<thumbnail_small>http://icon.nimg.jp/community/s/116/co1168366.jpg?1411227110</thumbnail_small>
</community>
</video_info>
<video_info>
<video>
<id>lv198356778</id>
<title>【PS4】エキゾ出るまで止めまてん?@バン虎【Destiny】</title>
<open_time>2014-10-30 07:57:16</open_time>
<start_time>2014-10-30 08:00:00</start_time>
<schedule_end_time/>
<end_time>2014-10-30 09:29:59</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>48</view_counter>
<comment_count>0</comment_count>
<_ts_reserved_count>0</_ts_reserved_count>
<timeshift_enabled>0</timeshift_enabled>
<is_hq>0</is_hq>
</video>
<community>
<id>2153464</id>
<name>水没皇子の水底放送</name>
<channel_id/>
<global_id>co2153464</global_id>
<thumbnail>http://icon.nimg.jp/community/215/co2153464.jpg?1413808416</thumbnail>
<thumbnail_small>http://icon.nimg.jp/community/s/215/co2153464.jpg?1413808416</thumbnail_small>
</community>
</video_info>
</nicolive_video_response>
関連API
- V1-video.onairlist (データが同一構造)
- V1-video.comingsoon (データが同一構造)
更新履歴
2014/10/30 記述