Skip to content

Commit 46677af

Browse files
committedMar 2, 2018
update count api doc
1 parent df94214 commit 46677af

File tree

6 files changed

+150
-0
lines changed

6 files changed

+150
-0
lines changed
 

‎bangumi.md

+25
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,31 @@ Example Response
152152
}
153153
```
154154
155+
## Get count of bangumi
156+
157+
**`GET /series/count?[query=value, ...]`**
158+
159+
The available query keys are the same as above except for the `page` and` limit` fields.
160+
161+
Example Request
162+
163+
```bash
164+
curl https://animeloop.org/api/v2/series/count
165+
```
166+
167+
Example Response
168+
169+
```json
170+
{
171+
"status": "success",
172+
"code":200,
173+
"message":"success",
174+
"data": {
175+
"count": 495
176+
}
177+
}
178+
```
179+
155180
## Seach bangumi
156181
157182
**`GET /search/series?[value=[keyword1, ...]`**

‎episode.md

+26
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,29 @@ Example Response
114114
}
115115
```
116116

117+
## Get count of episodes
118+
119+
**`GET /episode/count?[query=value, ...]`**
120+
121+
The available query keys are the same as above except for the `page` and` limit` fields.
122+
123+
Example Request
124+
125+
```bash
126+
curl https://animeloop.org/api/v2/episode/count
127+
```
128+
129+
Example Response
130+
131+
```json
132+
{
133+
"status": "success",
134+
"code":200,
135+
"message":"success",
136+
"data": {
137+
"count": 5116
138+
}
139+
}
140+
```
141+
142+
##

‎loop.md

+25
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,31 @@ Example response
178178
}
179179
```
180180

181+
## Get count of loops
182+
183+
**`GET /loop/count?[query=value, ...]`**
184+
185+
The available query keys are the same as above except for the `page` and` limit` fields.
186+
187+
Example Request
188+
189+
```bash
190+
curl https://animeloop.org/api/v2/loop/count?duration=3.0,4.0
191+
```
192+
193+
Example Response
194+
195+
```json
196+
{
197+
"status": "success",
198+
"code":200,
199+
"message":"success",
200+
"data": {
201+
"count": 3690
202+
}
203+
}
204+
```
205+
181206
## Get a group of random loops
182207

183208
**`GET /rand/loop?[query=value, ...]`**

‎zh-cn/bangumi.md

+25
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,31 @@ curl https://animeloop.org/api/v1/series?season=2015-1
152152
}
153153
```
154154

155+
## 获取番剧数量
156+
157+
**`GET /series/count?[query=value, ...]`**
158+
159+
可用的 query 键值除去 `page``limit` 字段其余同上。
160+
161+
示例请求
162+
163+
```bash
164+
curl https://animeloop.org/api/v2/series/count
165+
```
166+
167+
返回结果
168+
169+
```json
170+
{
171+
"status": "success",
172+
"code":200,
173+
"message":"success",
174+
"data": {
175+
"count": 495
176+
}
177+
}
178+
```
179+
155180
## 搜索番剧
156181

157182
**`GET /search/series?[value=[keyword1, ...]`**

‎zh-cn/episode.md

+24
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,27 @@ curl https://animeloop.org/api/v2/episode?series=592a63088e46ce684784a6b3&full=t
114114
}
115115
```
116116

117+
## 获取 episodes 数量
118+
119+
**`GET /episode/count?[query=value, ...]`**
120+
121+
可用的 query 键值除去 `page``limit` 字段其余同上。
122+
123+
示例请求
124+
125+
```bash
126+
curl https://animeloop.org/api/v2/episode/count
127+
```
128+
129+
返回结果
130+
131+
```json
132+
{
133+
"status": "success",
134+
"code":200,
135+
"message":"success",
136+
"data": {
137+
"count": 5116
138+
}
139+
}
140+
```

‎zh-cn/loop.md

+25
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,31 @@ https://animeloop.org/api/v1/loop?seriesid=592a63088e46ce684784a6b3&duration=1.5
177177
}
178178
```
179179

180+
## 获取 loops 数量
181+
182+
**`GET /loop/count?[query=value, ...]`**
183+
184+
可用的 query 键值除去 `page``limit` 字段其余同上。
185+
186+
示例请求
187+
188+
```bash
189+
curl https://animeloop.org/api/v2/loop/count?duration=3.0,4.0
190+
```
191+
192+
返回结果
193+
194+
```json
195+
{
196+
"status": "success",
197+
"code":200,
198+
"message":"success",
199+
"data": {
200+
"count": 3690
201+
}
202+
}
203+
```
204+
180205
## 随机获取一组 loops
181206

182207
**`GET /rand/loop?[query=value, ...]`**

0 commit comments

Comments
 (0)