bangumi

Bangumi API client library for node.js.
Version:
  • 1.2.0
Source:

Classes

Bangumi

Type Definitions

Subject

Properties:
Properties
Name Type Attributes Description
id number ID of the subject
url string URL of the subject page
type number Type of the subject
name string Name of the subject
name_cn string Chinese name of the subject
summary string Summary or description of the subject
eps number Number of episodes
eps_count number Count of episodes
air_date string Air date of the subject
air_weekday number Air weekday of the subject
rating Object Rating information
Name Type Description
total number Total number of ratings
count Object Count of ratings for each score
score number Average score
rank number Rank of the subject images Object Image URLs for different sizes
Properties
Name Type Description
large string URL for large image
common string URL for common image
medium string URL for medium image
small string URL for small image
grid string URL for grid image
collection Object Collection statistics
Properties
Name Type Description
wish number Number of users who wish to watch
collect number Number of users who have collected
doing number Number of users currently watching
on_hold number Number of users who have put on hold
dropped number Number of users who have dropped
eps Array.<SubjectEp> <optional>
Array of episode objects crt Array.<SubjectCrt> <optional>
Array of character objects staff Array.<SubjectStaff> <optional>
Array of staff objects topic Array.<SubjectTopic> <optional>
Array of topic objects blog Array.<SubjectBlog> <optional>
Array of blog objects
Source:
Type:
  • Object

SubjectBlog

Properties:
Name Type Description
id number Blog ID
url string Blog URL
title string Blog title
summary string Blog summary
image string Blog image URL
replies number Number of replies
timestamp number Blog creation timestamp
dateline string Formatted date
user Object User who created the blog
Source:
Type:
  • Object

SubjectCrt

Properties:
Name Type Description
id number Character ID
url string Character URL
name string Character name
name_cn string Character Chinese name
role_name string Character role name
images Object Character images
comment number Number of comments
collects number Number of collections
info Object Additional character information
actors Array.<Object> List of voice actors
Source:
Type:
  • Object

SubjectEp

Properties:
Name Type Description
id number Episode ID
url string Episode URL
type number Episode type
sort number Episode sort order
name string Episode name
name_cn string Episode Chinese name
duration string Episode duration
airdate string Episode air date
comment number Number of comments
desc string Episode description
status string Episode status
Source:
Type:
  • Object

SubjectStaff

Properties:
Name Type Description
id number Staff ID
url string Staff URL
name string Staff name
name_cn string Staff Chinese name
role_name string Staff role name
images Object Staff images
comment number Number of comments
collects number Number of collections
info Object Additional staff information
jobs Array.<string> List of jobs
Source:
Type:
  • Object

SubjectTopic

Properties:
Name Type Description
id number Topic ID
url string Topic URL
title string Topic title
main_id number Main subject ID
timestamp number Topic creation timestamp
lastpost number Last post timestamp
replies number Number of replies
user Object User who created the topic
Source:
Type:
  • Object