Annict Docs
Search…
Annict Docs
Annict Docs
Languages
Annict Docs (日本語)
api
v1
GET /v1/users
overview
GET /v1/episodes
authentication
GET /v1/me
GET /v1/series
GET /v1/me/programs
GET /v1/records
GET /v1/works
GET /v1/staffs
GET /v1/organizations
GET /v1/me/following_activities
GET /v1/people
me-records
GET /v1/reviews
GET /v1/me/works
GET /v1/activities
GET /v1/characters
GET /v1/followers
POST /v1/me/statuses
me-reviews
GET /v1/casts
GET /v1/following
Summary
Annict Docs (English)
Powered By
GitBook
GET /v1/episodes
Annictに登録されているエピソード情報を取得することができます。
フィールド
名前
概要
id
エピソードのID
number
エピソードの話数
number_text
エピソードの話数 (表記用)
sort_number
ソート用の番号。話数でソートすると正しく並べられないケースがあるため、このフィールドが存在します。
title
サブタイトル
records_count
記録数
record_comments_count
感想付きの記録数
work
このエピソードが紐づく作品情報。取得できるフィールドは
Works
と同じです。
prev_episode
このエピソードの前のエピソード情報。取得できるフィールドは同じです。
next_episode
このエピソードの次のエピソード情報。取得できるフィールドは同じです。
パラメータ
名前
概要
使用例
fields
レスポンスボディに含まれるデータのフィールドを絞り込みます。
fields=id,title
filter_ids
エピソードをエピソードIDで絞り込みます。
filter_ids=1,2,3
filter_work_id
エピソードを作品IDで絞り込みます。
filter_work_id=1111
page
ページ数を指定します。
page=2
per_page
1ページに何件取得するかを指定します。デフォルトは
25
件で、
50
件まで指定できます。
per_page=30
sort_id
エピソードをエピソードIDで並び替えます。
asc
または
desc
が指定できます。
sort_id=desc
sort_sort_number
エピソードをソート用の番号で並び替えます。
asc
または
desc
が指定できます。
sort_sort_number=desc
リクエスト例
1
$ curl -X GET https://api.annict.com/v1/episodes?access_token=(access_token)
Copied!
1
{
2
"episodes"
:
[
3
{
4
"id"
:
45
,
5
"number"
:
null
,
6
"number_text"
:
"第2話"
,
7
"sort_number"
:
2
,
8
"title"
:
"殺戮の夢幻迷宮"
,
9
"records_count"
:
0
,
10
"record_comments_count"
:
0
,
11
"work"
:
{
12
"id"
:
3831
,
13
"title"
:
"NEWドリームハンター麗夢"
,
14
"title_kana"
:
""
,
15
"media"
:
"ova"
,
16
"media_text"
:
"OVA"
,
17
"season_name"
:
"1990-autumn"
,
18
"season_name_text"
:
"1990年秋"
,
19
"released_on"
:
"1990-12-16"
,
20
"released_on_about"
:
""
,
21
"official_site_url"
:
""
,
22
"wikipedia_url"
:
""
,
23
"twitter_username"
:
""
,
24
"twitter_hashtag"
:
""
,
25
"episodes_count"
:
2
,
26
"watchers_count"
:
10
27
},
28
"prev_episode"
:
{
29
"id"
:
44
,
30
"number"
:
null
,
31
"number_text"
:
"第1話"
,
32
"sort_number"
:
1
,
33
"title"
:
" 夢の騎士達"
,
34
"records_count"
:
0
,
35
"record_comments_count"
:
0
36
},
37
"next_episode"
:
null
38
},
39
...
Copied!
Previous
overview
Next
authentication
Last modified
1yr ago
Copy link
Contents
フィールド
パラメータ
リクエスト例