Skip to content

Commit

Permalink
格式化
Browse files Browse the repository at this point in the history
  • Loading branch information
MineCreeper86 committed Aug 31, 2020
1 parent 77b6603 commit cd410bb
Show file tree
Hide file tree
Showing 68 changed files with 987 additions and 15 deletions.
7 changes: 6 additions & 1 deletion article/articles.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ curl -G 'http://api.bilibili.com/x/article/list/web/articles'\
-b 'SESSDATA=xxx'
```

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand Down Expand Up @@ -303,4 +306,6 @@ curl -G 'http://api.bilibili.com/x/article/list/web/articles'\
"attention": true
}
}
```
```

</details>
4 changes: 4 additions & 0 deletions article/info.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ curl -G 'http://api.bilibili.com/x/article/viewinfo'\
-b 'SESSDATA=xxx'
```

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand Down Expand Up @@ -160,3 +163,4 @@ curl -G 'http://api.bilibili.com/x/article/viewinfo'\
}
```

</details>
14 changes: 14 additions & 0 deletions article/like_coin_fav.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ curl 'http://api.bilibili.com/x/article/like'\
-b 'SESSDATA=xxx'
```

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand All @@ -50,6 +53,8 @@ curl 'http://api.bilibili.com/x/article/like'\
}
```

</details>

## 投币文章

<img src="/imgs/coin.svg" width="100" height="100"/>
Expand Down Expand Up @@ -99,6 +104,9 @@ curl 'http://api.bilibili.com/x/web-interface/coin/add'\
-b 'SESSDATA=xxx'
```

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand All @@ -110,6 +118,8 @@ curl 'http://api.bilibili.com/x/web-interface/coin/add'\
}
```

</details>

## 收藏文章

<img src="/imgs/fav.svg" width="100" height="100"/>
Expand Down Expand Up @@ -148,6 +158,9 @@ curl 'http://api.bilibili.com/x/article/favorites/add'\
-b 'SESSDATA=xxx'
```

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand All @@ -156,3 +169,4 @@ curl 'http://api.bilibili.com/x/article/favorites/add'\
}
```

</details>
9 changes: 9 additions & 0 deletions audio/coin&fav.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ curl -G 'http://www.bilibili.com/audio/music-service-c/web/collections/songs-col
-b 'SESSDATA=xxx;DedeUserID=1;'
```

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand All @@ -46,6 +49,8 @@ curl -G 'http://www.bilibili.com/audio/music-service-c/web/collections/songs-col
}
```

</details>

## 查询音频投币数

> http://www.bilibili.com/audio/music-service-c/web/coin/audio
Expand Down Expand Up @@ -82,6 +87,9 @@ curl -G 'http://www.bilibili.com/audio/music-service-c/web/coin/audio'\
-b 'SESSDATA=xxx;DedeUserID=1;'
```

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand All @@ -90,3 +98,4 @@ curl -G 'http://www.bilibili.com/audio/music-service-c/web/coin/audio'\
}
```

</details>
19 changes: 19 additions & 0 deletions audio/info.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ curl -G 'http://www.bilibili.com/audio/music-service-c/web/song/info'\
-b 'SESSDATA=xxx'
```

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand Down Expand Up @@ -138,6 +141,8 @@ curl -G 'http://www.bilibili.com/audio/music-service-c/web/song/info'\
}
```

</details>

## 查询歌曲TAG

> http://www.bilibili.com/audio/music-service-c/web/tag/song
Expand Down Expand Up @@ -186,6 +191,9 @@ curl -G 'http://www.bilibili.com/audio/music-service-c/web/tag/song'\
--data-urlencode 'sid=15664'
```

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand Down Expand Up @@ -231,6 +239,8 @@ curl -G 'http://www.bilibili.com/audio/music-service-c/web/tag/song'\
}
```

</details>

## 查询歌曲创作成员列表

> http://www.bilibili.com/audio/music-service-c/web/member/song
Expand Down Expand Up @@ -293,6 +303,9 @@ curl -G 'http://www.bilibili.com/audio/music-service-c/web/member/song'\
--data-urlencode 'sid=815861'
```

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand Down Expand Up @@ -362,6 +375,8 @@ curl -G 'http://www.bilibili.com/audio/music-service-c/web/member/song'\
}
```

</details>

## 获取歌曲歌词

> http://www.bilibili.com/audio/music-service-c/web/song/lyric
Expand Down Expand Up @@ -396,6 +411,9 @@ curl -G 'http://www.bilibili.com/audio/music-service-c/web/song/lyric'\
-b 'SESSDATA=xxx'
```

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand All @@ -404,3 +422,4 @@ curl -G 'http://www.bilibili.com/audio/music-service-c/web/song/lyric'\
}
```

</details>
9 changes: 9 additions & 0 deletions audio/music_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ curl -G 'http://www.bilibili.com/audio/music-service-c/web/collections/list'\

共计创建了两个歌单,如下

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand Down Expand Up @@ -163,6 +166,8 @@ curl -G 'http://www.bilibili.com/audio/music-service-c/web/collections/list'\
}
```

</details>

## 查询音频收藏夹(默认歌单)信息

> https://www.bilibili.com/audio/music-service-c/web/collections/info
Expand Down Expand Up @@ -235,6 +240,9 @@ curl -G 'http://www.bilibili.com/audio/music-service-c/web/collections/info'\
-b 'SESSDATA=xxx;DedeUserID=1;'
```

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand Down Expand Up @@ -277,5 +285,6 @@ curl -G 'http://www.bilibili.com/audio/music-service-c/web/collections/info'\
}
```

</details>


10 changes: 10 additions & 0 deletions audio/musicstream_url.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ curl -G 'http://www.bilibili.com/audio/music-service-c/web/url'\
--data-urlencode 'sid=sid=15664'
```

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand All @@ -87,6 +90,8 @@ curl -G 'http://www.bilibili.com/audio/music-service-c/web/url'\
}
```

</details>

## 获取音频流URL(可获取付费音频)(双端)

> http://api.bilibili.com/audio/music-service-c/url
Expand Down Expand Up @@ -190,6 +195,9 @@ curl -G 'http://api.bilibili.com/audio/music-service-c/url
--data-urlencode 'mid=293793435'
```

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand Down Expand Up @@ -248,6 +256,8 @@ curl -G 'http://api.bilibili.com/audio/music-service-c/url
}
```

</details>

## 音频流的获取

`data`.`cdns`.`[0]``data`.`cdns`.`[1]`中的内容作为url进行GET操作
Expand Down
4 changes: 4 additions & 0 deletions audio/status_number.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ curl -G 'http://www.bilibili.com/audio/music-service-c/web/stat/song'\
--data-urlencode 'sid=15664'
```

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand All @@ -57,3 +60,4 @@ curl -G 'http://www.bilibili.com/audio/music-service-c/web/stat/song'\
}
```

</details>
9 changes: 9 additions & 0 deletions blackroom/banlist.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ curl -G 'http://api.bilibili.com/x/credit/blocked/list'\
--data-urlencode 'pn=1'
```

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand Down Expand Up @@ -190,6 +193,8 @@ curl -G 'http://api.bilibili.com/x/credit/blocked/list'\
}
```

</details>

## 封禁处理公示详情

> http://api.bilibili.com/x/credit/blocked/info
Expand Down Expand Up @@ -252,6 +257,9 @@ curl -G 'http://api.bilibili.com/x/credit/blocked/info'\
--data-urlencode 'id=1091621'
```

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand Down Expand Up @@ -287,3 +295,4 @@ curl -G 'http://api.bilibili.com/x/credit/blocked/info'\
}
```

</details>
11 changes: 10 additions & 1 deletion broadcast/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ curl -G 'http://api.bilibili.com/x/web-interface/broadcast/servers'\
--data-urlencode 'platform=web'
```

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand All @@ -89,13 +92,18 @@ curl -G 'http://api.bilibili.com/x/web-interface/broadcast/servers'\
}
```

</details>

`platform`=其他时,显示节点ip

```shell
curl -G 'http://api.bilibili.com/x/web-interface/broadcast/servers'\
--data-urlencode 'platform=1'
```

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand All @@ -119,6 +127,8 @@ curl -G 'http://api.bilibili.com/x/web-interface/broadcast/servers'\
}
```

</details>

## 服务器数据包

连接服务器分为三种方式,分别是ws wss tcp,数据包分为上行和下行
Expand Down Expand Up @@ -172,4 +182,3 @@ curl -G 'http://api.bilibili.com/x/web-interface/broadcast/servers'\
```



1 change: 0 additions & 1 deletion broadcast/video_room.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,3 @@
00000080 e6 84 bf e7 94 9f e5 b9 bb e6 83 b3 e4 b9 a1 22 |愿 生 幻 想 乡"|
00000090 5d |]|
```

9 changes: 9 additions & 0 deletions cheese/info.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,9 @@ curl -G 'http://api.bilibili.com/pugv/view/web/season'\
-e 'https://www.bilibili.com'
```

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand Down Expand Up @@ -454,6 +457,8 @@ curl -G 'http://api.bilibili.com/pugv/view/web/season'\
}
```

</details>

## 获取课程分集列表

> http://api.bilibili.com/pugv/view/web/ep/list
Expand Down Expand Up @@ -537,6 +542,9 @@ curl -G 'http://api.bilibili.com/pugv/view/web/ep/list'\
-e 'https://www.bilibili.com'
```

<details>
<summary>查看响应示例:</summary>

```json
{
"code": 0,
Expand Down Expand Up @@ -629,3 +637,4 @@ curl -G 'http://api.bilibili.com/pugv/view/web/ep/list'\
}
```

</details>
Loading

0 comments on commit cd410bb

Please sign in to comment.