-
Notifications
You must be signed in to change notification settings - Fork 3
/
分类_API - 嗶哩嗶哩百科.html
547 lines (518 loc) · 28.6 KB
/
分类_API - 嗶哩嗶哩百科.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
<!DOCTYPE html>
<!-- saved from url=(0051)http://docs.bilibili.cn/wiki/%E5%88%86%E7%B1%BB:API -->
<html lang="zh-cn" dir="ltr" class="client-chrome client-chrome-4 client-webkit client-win"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<title>分类:API - 嗶哩嗶哩百科</title>
<meta name="generator" content="MediaWiki 1.17.0">
<link rel="shortcut icon" href="http://docs.bilibili.cn/favicon.ico">
<link rel="search" type="application/opensearchdescription+xml" href="http://docs.bilibili.cn/opensearch_desc.php" title="嗶哩嗶哩百科 (zh-cn)">
<link rel="EditURI" type="application/rsd+xml" href="http://docs.bilibili.cn/api.php?action=rsd">
<link rel="alternate" type="application/atom+xml" title="嗶哩嗶哩百科的Atom订阅" href="http://docs.bilibili.cn/index.php?title=%E7%89%B9%E6%AE%8A:%E6%9C%80%E8%BF%91%E6%9B%B4%E6%94%B9&feed=atom">
<link rel="stylesheet" href="http://docs.bilibili.cn/load.php?debug=false&lang=zh-cn&modules=mediawiki.legacy.commonPrint%2Cshared%7Cskins.vector&only=styles&skin=vector&*">
<meta name="ResourceLoaderDynamicStyles" content=""><link rel="stylesheet" href="http://docs.bilibili.cn/load.php?debug=false&lang=zh-cn&modules=site&only=styles&skin=vector&*">
<link rel="stylesheet" href="http://docs.bilibili.cn/load.php?debug=false&lang=zh-cn&modules=site&only=styles&skin=vector&*">
<link rel="stylesheet" href="http://docs.bilibili.cn/load.php?debug=false&lang=zh-cn&modules=site&only=styles&skin=vector&*">
<!--[if lt IE 7]><style type="text/css">body{behavior:url("/skins/vector/csshover.min.htc")}</style><![endif]--><style>#content > #right > .dose > .dosesingle,
#content > #center > .dose > .dosesingle
{display:none !important;}</style><style type="text/css">.fancybox-margin{margin-right:17px;}</style></head>
<body class="mediawiki ltr ns-14 ns-subject page-分类_API skin-vector">
<div id="mw-page-base" class="noprint"></div>
<div id="mw-head-base" class="noprint"></div>
<!-- content -->
<div id="content">
<a id="top"></a>
<div id="mw-js-message" style="display:none;"></div>
<!-- firstHeading -->
<h1 id="firstHeading" class="firstHeading">分类:API</h1>
<!-- /firstHeading -->
<!-- bodyContent -->
<div id="bodyContent">
<!-- tagline -->
<div id="siteSub">出自嗶哩嗶哩百科</div>
<!-- /tagline -->
<!-- subtitle -->
<div id="contentSub"></div>
<!-- /subtitle -->
<!-- jumpto -->
<div id="jump-to-nav">
跳转到: <a href="http://docs.bilibili.cn/wiki/%E5%88%86%E7%B1%BB:API#mw-head">导航</a>,
<a href="http://docs.bilibili.cn/wiki/%E5%88%86%E7%B1%BB:API#p-search">搜索</a>
</div>
<!-- /jumpto -->
<!-- bodytext -->
<p>哔哩哔哩开放平台为第三方提供了简便的合作模式,满足了网站、手机和平板电脑用户随时随地观看哔哩哔哩的需求。哔哩哔哩开放平台提供相关接口,以实现第三方WAP站和客户端等多种应用的接入。
</p><p>1、<span style="color:#ff0000;">关于滥用</span>:
</p><p>以下这些,但并不限于以下这些行为都被视为滥用:
</p><p>a.短时间内大量操作API用于采集。
</p><p>b.测试帐号及密码
</p><p>c.其它没有提到的,但会给系统带来压力的请求行为。
</p><p>2、<span style="color:#ff0000;">禁止登录</span>:
</p><p>如果账号尝试登录错误次数在 30 分钟内超过 5 次则会被禁止登录一个小时,写程序的时候特别是 客户端的时候必须判断是否登录成功,如果不成功必须马上停止尝试。
</p><p>3、<span style="color:#ff0000;">关于封禁</span>:
</p><p>由于滥用 API 将会导致 API 被封禁,但并不影响在官方网站上的使用,封禁一定的时间后会自动解除,一般需要一个小时后才会解封,所以请小心操作,不要拿 API 进行大量测试
</p><p>4、<span style="color:#ff0000;">请求地址</span>:
</p><p>请求的地址为 <a href="http://api.bilibili.tv/" class="external text" rel="nofollow">http://api.bilibili.com/</a> 开头的地址
</p><p>5、<span style="color:#ff0000;">请求方法</span>:
</p><p>只支持 GET 方法请求数据,用其它方法会提示相关错误。
</p><p>6、<span style="color:#ff0000;">关于编码</span>:
</p><p>请用 UTF-8 编码进行数据传输,返回的数据也是 UTF-8 编码的。
</p><p>7、<span style="color:#ff0000;">关于 UserAgent</span>:
</p><p>请求的时候必须设置 UserAgent,如果不设置或者设置为不合法的(比如设置为浏览器的)也会导致账号被封禁 API。 UserAgent 的格式必须为:程序英文名称/版本 (联系邮箱) 比如:BiLiBiLi WP Client/1.0.0 ([email protected])
</p><p>通用调用参数
</p>
<table class="paramTable">
<tbody><tr>
<th> 字段
</th>
<th> 必选
</th>
<th> 类型及范围
</th>
<th> 说明
</th></tr>
<tr>
<td> type
</td>
<td> false
</td>
<td> string (json/xml/jsonp)
</td>
<td> 返回数据方式 默认json
</td></tr>
<tr>
<td> appkey
</td>
<td> true
</td>
<td> string
</td>
<td> 应用appkey <a href="http://www.bilibili.tv/account/getapi" class="external text" rel="nofollow">可点击这里申请</a>
</td></tr>
<tr>
<td> ts
</td>
<td> true
</td>
<td> integer
</td>
<td> 当前时间截 (UNIX TIMESTAMP)
</td></tr>
<tr>
<td> sign
</td>
<td> true
</td>
<td> string
</td>
<td> 应用校验密匙
</td></tr>
<tr>
<td> callback
</td>
<td> false
</td>
<td> string
</td>
<td> JSONp调用方式时回调函数名称
</td></tr>
<tr>
<td> access_key
</td>
<td> false
</td>
<td> string
</td>
<td> 应用在用户申请登陆后获取到的access_key 可以此access_key访问需要用户权限的操作
</td></tr>
<tr>
<td> platform
</td>
<td> false
</td>
<td> string (android/ios)
</td>
<td> 客户端平台适配及统计用
</td></tr></tbody></table>
<p>通用错误代码
</p><p><br>
</p>
<table class="paramTable">
<tbody><tr>
<th> 代码
</th>
<th> 说明
</th></tr>
<tr>
<td> -1
</td>
<td> 应用程序不存在或已被封禁
</td></tr>
<tr>
<td> -2
</td>
<td> Access key错误
</td></tr>
<tr>
<td> -3
</td>
<td> API校验密匙错误
</td></tr>
<tr>
<td> -101
</td>
<td> 帐号未登陆
</td></tr>
<tr>
<td> -102
</td>
<td> 帐号被封停
</td></tr>
<tr>
<td> -103
</td>
<td> 积分不足
</td></tr>
<tr>
<td> -104
</td>
<td> 硬币不足
</td></tr>
<tr>
<td> -105
</td>
<td> 验证码错误
</td></tr>
<tr>
<td> -106
</td>
<td> 帐号未激活
</td></tr>
<tr>
<td> -107
</td>
<td> 帐号非正式会员或在适应期
</td></tr>
<tr>
<td> -108
</td>
<td> 应用沒有存取相应功能的权限
</td></tr>
<tr>
<td> -400
</td>
<td> 请求有误
</td></tr>
<tr>
<td> -403
</td>
<td> 权限不足
</td></tr>
<tr>
<td> -404
</td>
<td> 文档不存在
</td></tr>
<tr>
<td> -500
</td>
<td> 服务器内部错误
</td></tr>
<tr>
<td> -503
</td>
<td> 调用速度过快
</td></tr></tbody></table>
<p>签名生成方式
</p><p>把接口所需所有参数拼接,如utk=xx&time=xx,按参数名称排序,最后再拼接上密钥App-Secret,做md5加密 (callback不需要参与sign校检)
</p><p>代码示例
PHP:
</p>
<div class="top-box hide"><div class="alert-info"></div></div><pre data-original-code=" /**
* @param $params array 参数列表
* @param $key 加密密钥
* @return array sign:加密校验串,params:参数拼接串
*/
function get_sign($params, $key) {
$_data = array();
ksort($params);
reset($params);
foreach ($params as $k => $v) {
// rawurlencode 返回的转义数字必须为大写( 如%2F )
$_data[] = $k . '=' . rawurlencode($v);
}
$_sign = implode('&', $_data);
return array(
'sign' => strtolower(md5($_sign . $key)),
'params' => $_sign,
);
}
define("APP_SECRET","abcdef123456");
get_sign(array("type"=>"json"),APP_SECRET);
" data-snippet-id="ext.8aa9f6d59d9cbb347c0c207cf459b8a3" data-snippet-saved="false" data-csrftoken="uFTraP7y-L4cK6qCaTn7qREqospJka37aFZU" data-codota-status="done"> /**
* @param $params array 参数列表
* @param $key 加密密钥
* @return array sign:加密校验串,params:参数拼接串
*/
function get_sign($params, $key) {
$_data = array();
ksort($params);
reset($params);
foreach ($params as $k => $v) {
// rawurlencode 返回的转义数字必须为大写( 如%2F )
$_data[] = $k . '=' . rawurlencode($v);
}
$_sign = implode('&', $_data);
return array(
'sign' => strtolower(md5($_sign . $key)),
'params' => $_sign,
);
}
define("APP_SECRET","abcdef123456");
get_sign(array("type"=>"json"),APP_SECRET);
</pre>
<p>JS:
</p>
<div class="top-box hide"><div class="alert-info"></div></div><pre data-original-code=" <script type="text/javascript" src="http://static.hdslb.com/js/md5.js">/script>
function get_sign(params, key)
{
var s_keys = [];
for (var i in params)
{
s_keys.push(i);
}
s_keys.sort();
var data = "";
for (var i = 0; i < s_keys.length; i++)
{
// encodeURIComponent 返回的转义数字必须为大写( 如 %2F )
data+=(data ? "&" : "")+s_keys[i]+"="+encodeURIComponent(params[s_keys[i]]);
}
return {
"sign":hex_md5(data+key),
"params":data
};
}
" data-snippet-id="ext.40d30d31f6f9ea442008a25d6826d2cd" data-snippet-saved="false" data-csrftoken="HujQVN8j-Ez5SqrK71JUgVqXEs5nrfYFOtFU" data-codota-status="done"> <script type="text/javascript" src="<a href="http://static.hdslb.com/js/md5.js" class="external free" rel="nofollow">http://static.hdslb.com/js/md5.js</a>">/script>
function get_sign(params, key)
{
var s_keys = [];
for (var i in params)
{
s_keys.push(i);
}
s_keys.sort();
var data = "";
for (var i = 0; i < s_keys.length; i++)
{
// encodeURIComponent 返回的转义数字必须为大写( 如 %2F )
data+=(data ? "&" : "")+s_keys[i]+"="+encodeURIComponent(params[s_keys[i]]);
}
return {
"sign":hex_md5(data+key),
"params":data
};
}
</pre>
<!--
NewPP limit report
Preprocessor node count: 8/1000000
Post-expand include size: 0/2097152 bytes
Template argument size: 0/2097152 bytes
Expensive parser function count: 0/100
-->
<!-- Saved in parser cache with key wikidb:pcache:idhash:111-0!*!0!!*!*!edit=0 and timestamp 20150721110947 -->
<div id="mw-pages">
<h2>分类“API”的页面</h2>
<p>本分类包含下列23个页面,共有23个页面。
</p><table width="100%"><tbody><tr valign="top"><td><h3>A</h3>
<ul><li><a href="http://docs.bilibili.cn/wiki/API.author_recommend" title="API.author recommend">API.author recommend</a></li>
<li><a href="http://docs.bilibili.cn/wiki/API.bangumi" title="API.bangumi">API.bangumi</a></li>
<li><a href="http://docs.bilibili.cn/wiki/API.comment" title="API.comment">API.comment</a></li>
<li><a href="http://docs.bilibili.cn/wiki/API.dynamic" title="API.dynamic">API.dynamic</a></li>
<li><a href="http://docs.bilibili.cn/wiki/API.favourite" title="API.favourite">API.favourite</a></li>
<li><a href="http://docs.bilibili.cn/wiki/API.feedback" title="API.feedback">API.feedback</a></li>
<li><a href="http://docs.bilibili.cn/wiki/API.friend" title="API.friend">API.friend</a></li>
<li><a href="http://docs.bilibili.cn/wiki/API.history" title="API.history">API.history</a></li></ul></td>
<td><h3>A 续</h3>
<ul><li><a href="http://docs.bilibili.cn/wiki/API.index" title="API.index">API.index</a></li>
<li><a href="http://docs.bilibili.cn/wiki/API.list" title="API.list">API.list</a></li>
<li><a href="http://docs.bilibili.cn/wiki/API.log" title="API.log">API.log</a></li>
<li><a href="http://docs.bilibili.cn/wiki/API.login" title="API.login">API.login</a></li>
<li><a href="http://docs.bilibili.cn/wiki/API.login_3rd" title="API.login 3rd">API.login 3rd</a></li>
<li><a href="http://docs.bilibili.cn/wiki/API.myinfo" title="API.myinfo">API.myinfo</a></li>
<li><a href="http://docs.bilibili.cn/wiki/API.notify" title="API.notify">API.notify</a></li>
<li><a href="http://docs.bilibili.cn/wiki/API.recommend" title="API.recommend">API.recommend</a></li></ul></td>
<td><h3>A 续</h3>
<ul><li><a href="http://docs.bilibili.cn/wiki/API.search" title="API.search">API.search</a></li>
<li><a href="http://docs.bilibili.cn/wiki/API.sp" title="API.sp">API.sp</a></li>
<li><a href="http://docs.bilibili.cn/wiki/API.spview" title="API.spview">API.spview</a></li>
<li><a href="http://docs.bilibili.cn/wiki/API.suggest" title="API.suggest">API.suggest</a></li>
<li><a href="http://docs.bilibili.cn/wiki/API.tags" title="API.tags">API.tags</a></li>
<li><a href="http://docs.bilibili.cn/wiki/API.userinfo" title="API.userinfo">API.userinfo</a></li>
<li><a href="http://docs.bilibili.cn/wiki/API.view" title="API.view">API.view</a></li></ul></td>
<td></td></tr></tbody></table>
</div><div class="printfooter">
取自“<a href="./分类_API - 嗶哩嗶哩百科_files/分类_API - 嗶哩嗶哩百科.html">http://docs.bilibili.cn/wiki/%E5%88%86%E7%B1%BB:API</a>”</div>
<!-- /bodytext -->
<!-- catlinks -->
<div id="catlinks" class="catlinks catlinks-allhidden"></div> <!-- /catlinks -->
<div class="visualClear"></div>
</div>
<!-- /bodyContent -->
</div>
<!-- /content -->
<!-- header -->
<div id="mw-head" class="noprint">
<!-- 0 -->
<div id="p-personal" class="">
<h5>个人工具</h5>
<ul>
<li id="pt-login"><a href="http://docs.bilibili.cn/index.php?title=%E7%89%B9%E6%AE%8A:%E7%94%A8%E6%88%B7%E7%99%BB%E5%BD%95&returnto=%E5%88%86%E7%B1%BB:API" title="我们鼓励您登录,但这并不是必须的 [alt-o]" accesskey="o">登录</a></li>
</ul>
</div>
<!-- /0 -->
<div id="left-navigation">
<!-- 0 -->
<div id="p-namespaces" class="vectorTabs">
<h5>名字空间</h5>
<ul>
<li id="ca-nstab-category" class="selected"><span><a href="./分类_API - 嗶哩嗶哩百科_files/分类_API - 嗶哩嗶哩百科.html" title="查看分类页面 [alt-c]" accesskey="c">分类</a></span></li>
<li id="ca-talk" class="new"><span><a href="http://docs.bilibili.cn/index.php?title=%E5%88%86%E7%B1%BB%E8%AE%A8%E8%AE%BA:API&action=edit&redlink=1" title="关于页面正文的讨论 [alt-t]" accesskey="t">讨论</a></span></li>
</ul>
</div>
<!-- /0 -->
<!-- 1 -->
<div id="p-variants" class="vectorMenu emptyPortlet">
<h5><span>变换</span><a href="http://docs.bilibili.cn/wiki/%E5%88%86%E7%B1%BB:API#"></a></h5>
<div class="menu">
<ul>
</ul>
</div>
</div>
<!-- /1 -->
</div>
<div id="right-navigation">
<!-- 0 -->
<div id="p-views" class="vectorTabs">
<h5>查看</h5>
<ul>
<li id="ca-view" class="selected"><span><a href="./分类_API - 嗶哩嗶哩百科_files/分类_API - 嗶哩嗶哩百科.html">阅读</a></span></li>
<li id="ca-viewsource"><span><a href="http://docs.bilibili.cn/index.php?title=%E5%88%86%E7%B1%BB:API&action=edit" title="此页面已被保护,你可以查看其源代码。 [alt-e]" accesskey="e">查看源代码</a></span></li>
<li id="ca-history" class="collapsible "><span><a href="http://docs.bilibili.cn/index.php?title=%E5%88%86%E7%B1%BB:API&action=history" title="此页面的早前修订版本 [alt-h]" accesskey="h">查看历史</a></span></li>
</ul>
</div>
<!-- /0 -->
<!-- 1 -->
<div id="p-cactions" class="vectorMenu emptyPortlet">
<h5><span>动作</span><a href="http://docs.bilibili.cn/wiki/%E5%88%86%E7%B1%BB:API#"></a></h5>
<div class="menu">
<ul>
</ul>
</div>
</div>
<!-- /1 -->
<!-- 2 -->
<div id="p-search">
<h5><label for="searchInput">搜索</label></h5>
<form action="http://docs.bilibili.cn/index.php" id="searchform">
<input type="hidden" name="title" value="特殊:搜索">
<input id="searchInput" name="search" type="text" title="搜索该网站 [alt-f]" accesskey="f" value="">
<input type="submit" name="go" class="searchButton" id="searchGoButton" value="进入" title="如果相同的标题存在的话便直接前往该页面">
<input type="submit" name="fulltext" class="searchButton" id="mw-searchButton" value="搜索" title="搜索该文字的页面">
</form>
</div>
<!-- /2 -->
</div>
</div>
<!-- /header -->
<!-- panel -->
<div id="mw-panel" class="noprint">
<!-- logo -->
<div id="p-logo"><a style="background-image: url(http://img.hdslb.com/wiki/baike.png);" href="http://docs.bilibili.cn/wiki/%E9%A6%96%E9%A1%B5" title="访问首页"></a></div>
<!-- /logo -->
<!-- navigation -->
<div class="portal" id="p-navigation">
<h5>导航</h5>
<div class="body">
<ul>
<li id="n-mainpage-description"><a href="http://docs.bilibili.cn/wiki/%E9%A6%96%E9%A1%B5" title="访问首页 [alt-z]" accesskey="z">首页</a></li>
<li id="n-.E5.8A.9F.E8.83.BD.E8.AF.B4.E6.98.8E"><a href="http://docs.bilibili.cn/wiki/%E5%88%86%E7%B1%BB:%E5%8A%9F%E8%83%BD%E8%AF%B4%E6%98%8E">功能说明</a></li>
<li id="n-.E6.9B.B4.E6.96.B0.E6.97.A5.E5.BF.97"><a href="http://docs.bilibili.cn/wiki/%E5%88%86%E7%B1%BB:%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97">更新日志</a></li>
<li id="n-.E9.AB.98.E7.BA.A7.E5.BC.B9.E5.B9.95.E8.AF.AD.E8.A8.80"><a href="http://docs.bilibili.cn/wiki/%E5%88%86%E7%B1%BB:Script">高级弹幕语言</a></li>
<li id="n-.E5.BC.80.E6.94.BE.E5.B9.B3.E5.8F.B0"><a href="./分类_API - 嗶哩嗶哩百科_files/分类_API - 嗶哩嗶哩百科.html">开放平台</a></li>
<li id="n-randompage"><a href="http://docs.bilibili.cn/wiki/%E7%89%B9%E6%AE%8A:%E9%9A%8F%E6%9C%BA%E9%A1%B5%E9%9D%A2" title="随机载入一个页面 [alt-x]" accesskey="x">随机页面</a></li>
<li id="n-help"><a href="http://docs.bilibili.cn/wiki/%E5%B8%AE%E5%8A%A9:%E7%9B%AE%E5%BD%95" title="寻求帮助">帮助</a></li>
</ul>
</div>
</div>
<!-- /navigation -->
<!-- 更新 -->
<div class="portal" id="p-.E6.9B.B4.E6.96.B0">
<h5>更新</h5>
<div class="body">
<ul>
<li id="n-currentevents"><a href="http://docs.bilibili.cn/wiki/%E5%97%B6%E5%93%A9%E5%97%B6%E5%93%A9%E7%99%BE%E7%A7%91:%E5%BD%93%E5%89%8D%E4%BA%8B%E4%BB%B6" title="查找当前事件的背景信息">当前事件</a></li>
<li id="n-recentchanges"><a href="http://docs.bilibili.cn/wiki/%E7%89%B9%E6%AE%8A:%E6%9C%80%E8%BF%91%E6%9B%B4%E6%94%B9" title="列出该网站的最近修改 [alt-r]" accesskey="r">最近更改</a></li>
<li id="n-.E6.9C.80.E6.96.B0.E5.9B.BE.E7.89.87"><a href="http://docs.bilibili.cn/wiki/%E7%89%B9%E6%AE%8A:%E6%96%B0%E5%BB%BA%E6%96%87%E4%BB%B6">最新图片</a></li>
</ul>
</div>
</div>
<!-- /更新 -->
<!-- SEARCH -->
<!-- /SEARCH -->
<!-- TOOLBOX -->
<div class="portal" id="p-tb">
<h5>工具箱</h5>
<div class="body">
<ul>
<li id="t-whatlinkshere"><a href="http://docs.bilibili.cn/wiki/%E7%89%B9%E6%AE%8A:%E9%93%BE%E5%85%A5%E9%A1%B5%E9%9D%A2/%E5%88%86%E7%B1%BB:API" title="列出所有与此页相链的页面 [alt-j]" accesskey="j">链入页面</a></li>
<li id="t-recentchangeslinked"><a href="http://docs.bilibili.cn/wiki/%E7%89%B9%E6%AE%8A:%E9%93%BE%E5%87%BA%E6%9B%B4%E6%94%B9/%E5%88%86%E7%B1%BB:API" title="从此页链出的所有页面的更改 [alt-k]" accesskey="k">链出更改</a></li>
<li id="t-specialpages"><a href="http://docs.bilibili.cn/wiki/%E7%89%B9%E6%AE%8A:%E7%89%B9%E6%AE%8A%E9%A1%B5%E9%9D%A2" title="所有特殊页面列表 [alt-q]" accesskey="q">特殊页面</a></li>
<li id="t-print"><a href="http://docs.bilibili.cn/index.php?title=%E5%88%86%E7%B1%BB:API&printable=yes" rel="alternate" title="这个页面的可打印版本 [alt-p]" accesskey="p">可打印版</a></li>
<li id="t-permalink"><a href="http://docs.bilibili.cn/index.php?title=%E5%88%86%E7%B1%BB:API&oldid=689" title="这个页面修订版本的永久链接">永久链接</a></li>
</ul>
</div>
</div>
<!-- /TOOLBOX -->
<!-- LANGUAGES -->
<!-- /LANGUAGES -->
</div>
<!-- /panel -->
<!-- footer -->
<div id="footer">
<ul id="footer-info">
<li id="footer-info-lastmod"> 此页面最后修订于2015年6月26日 (星期五) 10:45。</li>
</ul>
<ul id="footer-places">
<li id="footer-places-privacy"><a href="http://docs.bilibili.cn/wiki/%E5%97%B6%E5%93%A9%E5%97%B6%E5%93%A9%E7%99%BE%E7%A7%91:%E9%9A%90%E7%A7%81%E6%94%BF%E7%AD%96" title="嗶哩嗶哩百科:隐私政策">隐私政策</a></li>
<li id="footer-places-about"><a href="http://docs.bilibili.cn/wiki/%E5%97%B6%E5%93%A9%E5%97%B6%E5%93%A9%E7%99%BE%E7%A7%91:%E5%85%B3%E4%BA%8E" title="嗶哩嗶哩百科:关于">关于嗶哩嗶哩百科</a></li>
<li id="footer-places-disclaimer"><a href="http://docs.bilibili.cn/wiki/%E5%97%B6%E5%93%A9%E5%97%B6%E5%93%A9%E7%99%BE%E7%A7%91:%E5%85%8D%E8%B4%A3%E5%A3%B0%E6%98%8E" title="嗶哩嗶哩百科:免责声明">免责声明</a></li>
</ul>
<ul id="footer-icons" class="noprint">
<li id="footer-poweredbyico">
<a href="http://www.mediawiki.org/"><img src="http://img.hdslb.com/wiki/common/images/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" width="88" height="31"></a>
</li>
</ul>
<div style="clear:both"></div>
</div>
<!-- /footer -->
<script src="./分类_API - 嗶哩嗶哩百科_files/load.php"></script><script src="./分类_API - 嗶哩嗶哩百科_files/load(1).php"></script>
<script>if ( window.mediaWiki ) {
mediaWiki.config.set({"wgCanonicalNamespace": "Category", "wgCanonicalSpecialPageName": false, "wgNamespaceNumber": 14, "wgPageName": "分类:API", "wgTitle": "API", "wgAction": "view", "wgArticleId": 111, "wgIsArticle": true, "wgUserName": null, "wgUserGroups": ["*"], "wgCurRevisionId": 689, "wgCategories": [], "wgBreakFrames": false, "wgRestrictionEdit": [], "wgRestrictionMove": [], "wgFCKEditorDir": "extensions/WYSIWYG/ckeditor/", "wgFCKEditorExtDir": "extensions/WYSIWYG", "wgFCKEditorToolbarSet": "Wiki", "wgFCKEditorHeight": "0", "wgCKeditorMagicWords": {"wikitags": ["nowiki", "includeonly", "onlyinclude", "noinclude", "pre", "gallery"], "magicwords": ["NOTOC", "FORCETOC", "TOC", "NOEDITSECTION", "NEWSECTIONLINK", "NONEWSECTIONLINK", "NOCONTENTCONVERT", "NOCC", "NOTITLECONVERT", "NOTC", "NOGALLERY", "INDEX", "NOINDEX", "STATICREDIRECT", "NOGALLERY", "HIDDENCAT", "START", "END"], "datevars": ["CURRENTYEAR", "CURRENTMONTH", "CURRENTMONTHNAME", "CURRENTMONTHNAMEGEN", "CURRENTMONTHABBREV", "CURRENTDAY", "CURRENTDAY2", "CURRENTDOW", "CURRENTDAYNAME", "CURRENTTIME", "CURRENTHOUR", "CURRENTWEEK", "CURRENTTIMESTAMP"], "wikivars": ["SITENAME", "SERVER", "SERVERNAME", "DIRMARK", "SCRIPTPATH", "CURRENTVERSION", "CONTENTLANG", "REVISIONID", "REVISIONDAY", "REVISIONDAY2", "REVISIONMONTH", "REVISIONYEAR", "REVISIONTIMESTAMP", "REVISIONUSER", "FULLPAGENAME", "PAGENAME", "BASEPAGENAME", "SUBPAGENAME", "SUBJECTPAGENAME", "TALKPAGENAME", "NAMESPACE", "ARTICLESPACE", "TALKSPACE"], "parserhooks": ["lc", "lcfirst", "uc", "ucfirst", "formatnum", "#dateformat", "padleft", "padright", "plural", "grammar", "#language", "int", "#tag", "#int", "#ns", "#nse", "#urlencode", "#lcfirst", "#ucfirst", "#lc", "#uc", "#localurl", "#localurle", "#fullurl", "#fullurle", "#formatnum", "#grammar", "#gender", "#plural", "#numberofpages", "#numberofusers", "#numberofactiveusers", "#numberofarticles", "#numberoffiles", "#numberofadmins", "#numberingroup", "#numberofedits", "#numberofviews", "#padleft", "#padright", "#anchorencode", "#special", "#defaultsort", "#filepath", "#pagesincategory", "#pagesize", "#protectionlevel", "#namespace", "#namespacee", "#talkspace", "#talkspacee", "#subjectspace", "#subjectspacee", "#pagename", "#pagenamee", "#fullpagename", "#fullpagenamee", "#basepagename", "#basepagenamee", "#subpagename", "#subpagenamee", "#talkpagename", "#talkpagenamee", "#subjectpagename", "#subjectpagenamee", "#formatdate", "#displaytitle"]}, "wgCKeditorUseBuildin4Extensions": [], "wgAllowExternalImages": true});
}
</script>
<script>if ( window.mediaWiki ) {
mediaWiki.loader.load(["mediawiki.util", "mediawiki.legacy.wikibits", "mediawiki.legacy.ajax"]);
mediaWiki.loader.go();
}
</script><script type="text/javascript" src="./分类_API - 嗶哩嗶哩百科_files/load(2).php"></script>
<script src="./分类_API - 嗶哩嗶哩百科_files/load(3).php"></script>
<script>if ( window.mediaWiki ) {
mediaWiki.user.options.set({"ccmeonemails":0,"cols":80,"contextchars":50,"contextlines":5,"date":"default","diffonly":0,"disablemail":0,"disablesuggest":0,"editfont":"default","editondblclick":0,"editsection":1,"editsectiononrightclick":0,"enotifminoredits":0,"enotifrevealaddr":0,"enotifusertalkpages":1,"enotifwatchlistpages":0,"extendwatchlist":0,"externaldiff":0,"externaleditor":0,"fancysig":0,"forceeditsummary":0,"gender":"unknown","hideminor":0,"hidepatrolled":0,"highlightbroken":1,"imagesize":2,"justify":0,"math":1,"minordefault":0,"newpageshidepatrolled":0,"nocache":0,"noconvertlink":0,"norollbackdiff":0,"numberheadings":0,"previewonfirst":0,"previewontop":1,"quickbar":1,"rcdays":7,"rclimit":50,"rememberpassword":0,"rows":25,"searchlimit":20,"showhiddencats":0,"showjumplinks":1,"shownumberswatching":1,"showtoc":1,"showtoolbar":1,"skin":"vector","stubthreshold":0,"thumbsize":2,"underline":2,"uselivepreview":0,"usenewrc":0,"watchcreations":0,"watchdefault":0,"watchdeletion":0,
"watchlistdays":3,"watchlisthideanons":0,"watchlisthidebots":0,"watchlisthideliu":0,"watchlisthideminor":0,"watchlisthideown":0,"watchlisthidepatrolled":0,"watchmoves":0,"wllimit":250,"riched_use_toggle":1,"riched_start_disabled":1,"riched_use_popup":1,"riched_toggle_remember_state":1,"usebetatoolbar":1,"usebetatoolbar-cgd":1,"wikieditor-preview":1,"variant":"zh-cn","language":"zh-cn","searchNs0":true,"searchNs1":false,"searchNs2":false,"searchNs3":false,"searchNs4":false,"searchNs5":false,"searchNs6":false,"searchNs7":false,"searchNs8":false,"searchNs9":false,"searchNs10":false,"searchNs11":false,"searchNs12":false,"searchNs13":false,"searchNs14":false,"searchNs15":false});;mediaWiki.loader.state({"user.options":"ready"});
}
</script> <!-- fixalpha -->
<script type="text/javascript"> if ( window.isMSIE55 ) fixalpha(); </script>
<!-- /fixalpha -->
<!-- Served in 0.089 secs. -->
<div class="codota-scope"><div class="green-popovers-container"></div><div data-snippet-id="ext.8aa9f6d59d9cbb347c0c207cf459b8a3" class="top-bar-placeholder" style="top: 1374.796875px; left: 963px; display: none; opacity: 0.3;"><a class="watermark" rel="tooltip" data-container=".codota-scope" data-delay="500" data-title="Info available for 0 elements in snippet. Click for details..." data-original-title="" title=""></a><button link="https://www.codota.com/codebox/" target="_blank" class="codebox-badge" data-container=".green-popovers-container" data-toggle="popover" data-trigger="manual" data-html="true" data-placement="top" style="display: none;">In CodeBox</button><button class="codota-black-btn codebox-save-btn pull-right" data-container=".green-popovers-container" data-trigger="manual" data-html="true" data-placement="top" data-original-title="" title=""><i class="fa fa-briefcase"></i> Save</button><button class="codota-white-btn codebox-save-selection-btn pull-right" data-container=".green-popovers-container" data-trigger="manual" data-html="true" data-placement="top" style="display: none;" data-original-title="" title=""><i class="fa fa-bars"></i> Save Selection</button><button class="codota-white-btn copy-to-clipboard pull-right"><i class="fa fa-copy"></i> Copy</button><button class="codota-white-btn share-snippet-btn pull-right" data-container=".green-popovers-container" data-trigger="manual" data-html="true" data-placement="top"><i class="fa fa-share"></i> Share</button></div><div data-snippet-id="ext.40d30d31f6f9ea442008a25d6826d2cd" class="top-bar-placeholder" style="top: 1740.984375px; left: 963px; display: block; opacity: 0.3;"><a class="watermark" rel="tooltip" data-container=".codota-scope" data-delay="500" data-title="Info available for 0 elements in snippet. Click for details..." data-original-title="" title=""></a><button link="https://www.codota.com/codebox/" target="_blank" class="codebox-badge" data-container=".green-popovers-container" data-toggle="popover" data-trigger="manual" data-html="true" data-placement="top" style="display: none;">In CodeBox</button><button class="codota-black-btn codebox-save-btn pull-right" data-container=".green-popovers-container" data-trigger="manual" data-html="true" data-placement="top" data-original-title="" title=""><i class="fa fa-briefcase"></i> Save</button><button class="codota-white-btn codebox-save-selection-btn pull-right" data-container=".green-popovers-container" data-trigger="manual" data-html="true" data-placement="top" style="display: none;" data-original-title="" title=""><i class="fa fa-bars"></i> Save Selection</button><button class="codota-white-btn copy-to-clipboard pull-right"><i class="fa fa-copy"></i> Copy</button><button class="codota-white-btn share-snippet-btn pull-right" data-container=".green-popovers-container" data-trigger="manual" data-html="true" data-placement="top"><i class="fa fa-share"></i> Share</button></div></div><form id="codebox-form" method="post" style="display: none;"></form></body></html>