[Web API]
getplayerstatus
プレイヤー情報を得るのに使う。
2021/02/26以降使用できなくなりました。
2021/02/26以降使用できなくなりました。
リクエスト URL
GET http://live.nicovideo.jp/api/getplayerstatus?v={live_id}
または
GET http://live.nicovideo.jp/api/getplayerstatus/{live_id}
または
GET http://live.nicovideo.jp/api/getplayerstatus/{live_id}
- live_id
ID
データ形式
XML 形式。
データサンプル
コミュニティー放送の場合
<?xml version='1.0' encoding='utf-8'?>
<getplayerstatus status="ok" time="1391555282">
<stream>
<id>lv168235211</id>
<title>ゼルダの伝説トワイライトプリンセス</title>
<description>いい加減クリアしますー!5人で色々な放送をやってます!コミュニティをどうぞよろしく!!→co1342124サブコミュ→co1842118</description>
<provider_type>community</provider_type>
<default_community>co1342124</default_community>
<international>13</international>
<is_owner>0</is_owner>
<owner_id>7051053</owner_id>
<owner_name>ひろやす@ピュアホワイト</owner_name>
<is_reserved>0</is_reserved>
<watch_count>13</watch_count>
<comment_count>13</comment_count>
<base_time>1391554707</base_time>
<open_time>1391554707</open_time>
<start_time>1391554709</start_time>
<end_time>1391556509</end_time>
<is_rerun_stream>0</is_rerun_stream>
<bourbon_url>http://live.nicovideo.jp/gate/lv168235211?sec=nicolive_crowded&amp;sub=watch_crowded_0_community_lv168235211_onair</bourbon_url>
<full_video>http://live.nicovideo.jp/gate/lv168235211?sec=nicolive_crowded&amp;sub=watch_crowded_0_community_lv168235211_onair</full_video>
<after_video/>
<before_video/>
<kickout_video>http://live.nicovideo.jp/gate/lv168235211?sec=nicolive_oidashi&amp;
sub=watchplayer_oidashialert_0_community_lv168235211_onair</kickout_video>
<twitter_tag>#co1342124</twitter_tag>
<danjo_comment_mode>0</danjo_comment_mode>
<infinity_mode>0</infinity_mode>
<archive>0</archive>
<press>
<display_lines>-1</display_lines>
<display_time>-1</display_time>
<style_conf/>
</press>
<plugin_delay/>
<plugin_url/>
<plugin_urls/>
<allow_netduetto>1</allow_netduetto>
<nd_token>8165285e634cbdf46745295a2d3659a32c975893</nd_token>
<ng_scoring>0</ng_scoring>
<is_nonarchive_timeshift_enabled>1</is_nonarchive_timeshift_enabled>
<is_timeshift_reserved>0</is_timeshift_reserved>
<header_comment>0</header_comment>
<footer_comment>0</footer_comment>
<split_bottom>0</split_bottom>
<split_top>0</split_top>
<background_comment>0</background_comment>
<font_scale/>
<comment_lock>0</comment_lock>
<telop>
<enable>0</enable>
</telop>
<contents_list>
<contents id="main" disableaudio="0" disablevideo="0" start_time="1391554708">rtmp:rtmp://nlpoca112.live.nicovideo.jp:1935/publicorigin/140205_07_1/,lv168235211?1391555282:30:009412a24371baf8</contents>
</contents_list>
<is_priority_prefecture/>
</stream>
<user>
<user_id>20929324</user_id>
<nickname>ℳກ੮ວܬ୧</nickname>
<is_premium>1</is_premium>
<userAge>21</userAge>
<userSex>1</userSex>
<userDomain>jp</userDomain>
<userPrefecture>27</userPrefecture>
<userLanguage>ja-jp</userLanguage>
<room_label>co1342124</room_label>
<room_seetno>8</room_seetno>
<is_join/>
<twitter_info>
<status>enabled</status>
<screen_name>mntone</screen_name>
<followers_count>366</followers_count>
<is_vip>0</is_vip>
<profile_image_url>http://a0.twimg.com/profile_images/2420265266/rrtyjcvhu7z5idxo8y49_normal.png</profile_image_url>
<after_auth>0</after_auth>
<tweet_token>0e7db53d6e0f54c74f2f8ab210acec5f5f91c9eb</tweet_token>
</twitter_info>
</user>
<rtmp is_fms="1" rtmpt_port="80">
<url>rtmp://nleu12.live.nicovideo.jp:1935/liveedge/live_140205_08_1</url>
<ticket>20929324:lv168235211:0:1391555282:0417f76b5298cce3</ticket>
</rtmp>
<ms>
<addr>msg102.live.nicovideo.jp</addr>
<port>2806</port>
<thread>1329132457</thread>
</ms>
<tid_list/>
<twitter>
<live_enabled>0</live_enabled>
<vip_mode_count>10000</vip_mode_count>
<live_api_url>http://watch.live.nicovideo.jp/api/</live_api_url>
</twitter>
<player>
<qos_analytics>0</qos_analytics>
<dialog_image>
<oidashi>http://nl.simg.jp/img/201311/281696.a29344.png</oidashi>
</dialog_image>
<is_notice_viewer_balloon_enabled>1</is_notice_viewer_balloon_enabled>
<error_report>1</error_report>
</player>
<marquee>
<category>ゲーム</category>
<game_key>04678e23</game_key>
<game_time>1391555282</game_time>
<force_nicowari_off>0</force_nicowari_off>
</marquee>
</getplayerstatus>
公式放送の場合
<?xml version='1.0' encoding='utf-8'?>
<getplayerstatus status="ok" time="1392794080">
<stream>
<id>lv169798840</id>
<title>【衆議院 国会生中継】 予算委員会</title>
<description>~平成26年2月19日 予算委員会~<br></description>
<provider_type>official</provider_type>
<default_community/>
<international>1</international>
<is_owner>0</is_owner>
<owner_id>394</owner_id>
<owner_name/>
<is_reserved>0</is_reserved>
<picture_url>http://nl.simg.jp/img/a35/102457.bba76a.jpg</picture_url>
<thumb_url>http://nl.simg.jp/img/a2/4539.198de4.jpg</thumb_url>
<watch_count>50187</watch_count>
<comment_count>23020</comment_count>
<base_time>1392767700</base_time>
<open_time>1392767700</open_time>
<start_time>1392768000</start_time>
<end_time>1392796800</end_time>
<is_rerun_stream>0</is_rerun_stream>
<is_archiveplayserver>1</is_archiveplayserver>
<bourbon_url>http://live.nicovideo.jp/gate/lv169798840?sec=nicolive_crowded&amp;sub=watch_crowded_0_official_lv169798840_onair</bourbon_url>
<full_video>http://live.nicovideo.jp/gate/lv169798840?sec=nicolive_crowded&amp;sub=watch_crowded_0_official_lv169798840_onair</full_video>
<after_video/>
<before_video/>
<kickout_video>http://live.nicovideo.jp/gate/lv169798840?sec=nicolive_oidashi&amp;sub=watchplayer_oidashialert_0_official_lv169798840_onair</kickout_video>
<twitter_tag>#kokkai #衆議院</twitter_tag>
<danjo_comment_mode>0</danjo_comment_mode>
<infinity_mode>0</infinity_mode>
<archive>0</archive>
<press>
<display_lines>-1</display_lines>
<display_time>-1</display_time>
<style_conf/> </press>
<plugin_delay/>
<plugin_url/>
<plugin_urls/>
<allow_netduetto>0</allow_netduetto>
<nd_token>039b7e91347da7fc04fa708d8cf596922fa9fdcf</nd_token>
<ng_scoring>0</ng_scoring>
<is_nonarchive_timeshift_enabled>1</is_nonarchive_timeshift_enabled>
<is_timeshift_reserved>0</is_timeshift_reserved>
<header_comment>0</header_comment>
<footer_comment>0</footer_comment>
<split_bottom>0</split_bottom>
<split_top>0</split_top>
<background_comment>0</background_comment>
<font_scale/>
<comment_lock>0</comment_lock>
<telop>
<enable>0</enable>
</telop>
<contents_list>
<contents id="main" disableaudio="0" disablevideo="0" start_time="1392718797">limelight:rtmp://smilevideo.fc.llnwd.net:1935/smilevideo,s_lv169798840</contents>
</contents_list>
<is_priority_prefecture/>
</stream>
<user>
<user_id>20929324</user_id>
<nickname>ℳກ੮ວܬ୧</nickname>
<is_premium>1</is_premium>
<userAge>21</userAge>
<userSex>1</userSex>
<userDomain>jp</userDomain>
<userPrefecture>27</userPrefecture>
<userLanguage>ja-jp</userLanguage>
<room_label>アリーナ 最前列</room_label>
<room_seetno>147</room_seetno>
<is_join/>
<twitter_info>
<status>enabled</status>
<screen_name>mntone</screen_name>
<followers_count>366</followers_count>
<is_vip>0</is_vip>
<profile_image_url>http://a0.twimg.com/profile_images/2420265266/rrtyjcvhu7z5idxo8y49_normal.png</profile_image_url>
<after_auth>0</after_auth>
<tweet_token>16439bec560b987c1c51950c05c7210f359920f7</tweet_token>
</twitter_info>
</user>
<rtmp>
<url/>
<ticket>20929324:lv169798840:0:1392794080:60edb778c359af03</ticket>
</rtmp>
<ms>
<addr>omsg101.live.nicovideo.jp</addr>
<port>2805</port>
<thread>1332290557</thread>
</ms>
<tid_list/>
<tickets>
<stream name="s_lv169798840">uid=20929324&amp;h=3b9fe2bb8fd6fdb8c8e6eda0358f4380</stream>
<stream name="s_lv169798840_sub1">uid=20929324&amp;h=5933268c1c7fb1ef7df58ed8784c1bf3</stream>
<stream name="s_lv169798840_sub2">uid=20929324&amp;h=46fb37a19274166b64d224d7b50d1d28</stream>
<stream name="s_lv169798840_sub3">uid=20929324&amp;h=504e1df898ccf4ad2bd610e91584373a</stream>
<stream name="s_lv169798840_sub4">uid=20929324&amp;h=fbad73282574dfb3074e8c152bab22d2</stream>
<stream name="s_lv169798840_sub5">uid=20929324&amp;h=6263b485edf9b1a41ffb6f73bc2bbdaf</stream>
<stream name="s_lv169798840_sub6">uid=20929324&amp;h=b4ac1e6781e625f81c0fb7a4211aa80e</stream>
<stream name="s_lv169798840_sub7">uid=20929324&amp;h=e6920037631c1e7d45ad415b1e76437b</stream>
<stream name="s_lv169798840_sub8">uid=20929324&amp;h=e3a812e20981337c2af79be2b3de2044</stream>
<stream name="s_lv169798840_sub9">uid=20929324&amp;h=7ebea07abe44d4afcc5b8e2278285519</stream>
</tickets>
<twitter>
<live_enabled>1</live_enabled>
<vip_mode_count>10000</vip_mode_count>
<live_api_url>http://watch.live.nicovideo.jp/api/</live_api_url>
</twitter>
<player>
<qos_analytics>0</qos_analytics>
<dialog_image>
<oidashi>http://nl.simg.jp/img/201311/281696.a29344.png</oidashi>
</dialog_image>
<is_notice_viewer_balloon_enabled>1</is_notice_viewer_balloon_enabled>
<error_report>1</error_report>
</player>
<marquee>
<category/>
<game_key>7b86bc0b</game_key>
<game_time>1392794080</game_time>
<force_nicowari_off>1</force_nicowari_off>
</marquee>
</getplayerstatus>
クルーズ放送の場合
<?xml version='1.0' encoding='utf-8'?>
<getplayerstatus status="ok" time="1392802843">
<stream>
<id>lv169772234</id>
<title>ニコ生クルーズ</title>
<description>現在放送中のユーザーさんの番組をご紹介!<br>番組をお探しの皆様のご乗船をお待ちしております。</description>
<provider_type>official</provider_type>
<default_community/>
<international>13</international>
<is_owner>0</is_owner>
<owner_id>394</owner_id>
<owner_name/>
<is_reserved>0</is_reserved>
<picture_url>http://nl.simg.jp/img/a35/103322.5e6f4c.jpg</picture_url>
<thumb_url>http://live.nicovideo.jp/thumb/9980.60x60.jpg</thumb_url>
<watch_count>413926</watch_count>
<comment_count>80377</comment_count>
<base_time>1392735600</base_time>
<open_time>1392735600</open_time>
<start_time>1392735797</start_time>
<end_time>1392821999</end_time>
<is_cruise_stream>basic</is_cruise_stream>
<is_rerun_stream>0</is_rerun_stream>
<is_archiveplayserver>1</is_archiveplayserver>
<bourbon_url>http://live.nicovideo.jp/gate/lv169772234?sec=nicolive_crowded&amp;sub=watch_crowded_0_official_lv169772234_onair</bourbon_url>
<full_video>http://live.nicovideo.jp/gate/lv169772234?sec=nicolive_crowded&amp;sub=watch_crowded_0_official_lv169772234_onair</full_video>
<after_video/>
<before_video/>
<kickout_video>http://live.nicovideo.jp/gate/lv169772234?sec=nicolive_oidashi&amp;sub=watchplayer_oidashialert_0_official_lv169772234_onair</kickout_video>
<twitter_tag>#nicocruise</twitter_tag>
<danjo_comment_mode>0</danjo_comment_mode>
<infinity_mode>0</infinity_mode>
<archive>0</archive>
<press>
<display_lines>1</display_lines>
<display_time>-1</display_time>
<style_conf/>
</press>
<plugin_delay/>
<plugin_url/>
<plugin_urls/>
<allow_netduetto>0</allow_netduetto>
<nd_token>a639d289d563e569bc5951e41e9feef89372af90</nd_token>
<ng_scoring>0</ng_scoring>
<is_nonarchive_timeshift_enabled>0</is_nonarchive_timeshift_enabled>
<is_timeshift_reserved>0</is_timeshift_reserved>
<header_comment>0</header_comment>
<footer_comment>0</footer_comment>
<split_bottom>0</split_bottom>
<split_top>0</split_top>
<background_comment>0</background_comment>
<font_scale/>
<perm>/perm &lt;FONT COLOR="#Ff9900"&gt;放送開始:2014年02月19日 18時19分 タグ:【クルーズ待ち】&lt;/FONT&gt;&lt;BR&gt;タイトル:&lt;a href="http://live.nicovideo.jp/watch/lv169900930?cr=1"&gt;&lt;FONT COLOR="#A4D0fB"&gt;&lt;U&gt;夕暮れの車載トイレラス枠。&lt;/u&gt;&lt;/FONT&gt;&lt;/a&lt;&lt;br&gt;&lt;FONT COLOR="#c0C0c0"&gt;大変、申し訳ありません。&lt;/FONT&gt;</perm>
<comment_lock>0</comment_lock>
<telop>
<enable>0</enable>
</telop>
<contents_list>
<contents id="main" disableaudio="0" disablevideo="0" start_time="1392802808">rtmp:rtmp://nlpoca107.live.nicovideo.jp:1935/publicorigin/140219_18_1/,lv169900930?1392802843:30:8e002f49be20143e</contents>
</contents_list>
<is_priority_prefecture/>
</stream>
<user>
<user_id>20929324</user_id>
<nickname>ℳກ੮ວܬ୧</nickname>
<is_premium>1</is_premium>
<userAge>21</userAge>
<userSex>1</userSex>
<userDomain>jp</userDomain>
<userPrefecture>27</userPrefecture>
<userLanguage>ja-jp</userLanguage>
<hkey>4daa2d4715514504</hkey>
<room_label>デッキ</room_label>
<room_seetno>212</room_seetno>
<twitter_info>
<status>enabled</status>
<screen_name>mntone</screen_name>
<followers_count>366</followers_count>
<is_vip>0</is_vip>
<profile_image_url>http://a0.twimg.com/profile_images/2420265266/rrtyjcvhu7z5idxo8y49_normal.png</profile_image_url>
<after_auth>0</after_auth>
<tweet_token>235b31759ca1831fceb29a2a2b1635f8fb7bc259</tweet_token>
</twitter_info>
</user>
<rtmp is_fms="1" rtmpt_port="80">
<url>rtmp://nleu12.live.nicovideo.jp:1935/liveedge/live_140219_18_0</url>
<ticket>20929324:lv169772234:0:1392802843:878359c38ce2134b</ticket>
</rtmp>
<ms>
<addr>omsg103.live.nicovideo.jp</addr>
<port>2813</port>
<thread>1332236233</thread>
</ms>
<tid_list/>
<twitter>
<live_enabled>1</live_enabled>
<vip_mode_count>10000</vip_mode_count>
<live_api_url>http://watch.live.nicovideo.jp/api/</live_api_url>
</twitter>
<player>
<qos_analytics>0</qos_analytics>
<dialog_image>
<oidashi>http://nl.simg.jp/img/201311/281696.a29344.png</oidashi>
</dialog_image>
<is_notice_viewer_balloon_enabled>1</is_notice_viewer_balloon_enabled>
<error_report>1</error_report>
</player>
<marquee>
<category/>
<game_key>4c5a678d</game_key>
<game_time>1392802843</game_time>
<force_nicowari_off>1</force_nicowari_off>
</marquee>
</getplayerstatus>
エラーの場合
<?xml version="1.0" encoding="UTF-8"?>
<getplayerstatus status="fail" time="1391555177">
<error>
<code>closed</code>
</error>
</getplayerstatus>
更新履歴
2014/2/21 記述