-
Notifications
You must be signed in to change notification settings - Fork 265
API v2 Structures (Deprecated)
James Harris edited this page May 26, 2017
·
1 revision
Warning: API v2 is under development and subject to change. Use at your own risk!
This document lists the objects returned by API v2 methods.
id
-
titles
Object with all available titles canonical
english
romaji
japanese
slug
-
synopsis
Can be empty. -
started_airing_date
Date inYYYY-MM-DD
format. -
finished_airing_date
Date inYYYY-MM-DD
format. youtube_video_id
-
age_rating
Can be one ofG
,PG
,PG13
,R17+
,R18+
. -
episode_count
Total number of episodes. -
episode_length
Length of an episode in minutes. -
show_type
Can be one ofTV
,Movie
,OVA
,ONA
,Special
,Music
. -
poster_image
URL to poster image. -
cover_image
URL to coverimage. -
community_rating
Can be a number between0.0
and5.0
. -
genres
An array of genres. -
bayesian_rating
Average rating of the show links
-
gallery_images
An array of gallery image objects. -
episodes
An array of anime episode objects.
{
"anime":{
"id":6589,
"titles":{
"canonical":"Sword Art Online",
"english":"",
"romaji":"Sword Art Online",
"japanese":null
},
"slug":"sword-art-online",
"synopsis":"In the near future, a Virtual Reality Massive Multiplayer Online Role-Playing Game (VRMMORPG) called Sword Art Online has been released where players control their avatars with their bodies using a piece of technology called Nerve Gear. One day, players discover they cannot log out, as the game creator is holding them captive unless they reach the 100th floor of the game's tower and defeat the final boss. However, if they die in the game, they die in real life. Their struggle for survival starts now...\r\n(Source: Crunchyroll)",
"started_airing_date":"2012-07-08",
"finished_airing_date":"2012-12-23",
"youtube_video_id":"Wv8u5bY8Now",
"age_rating":"PG13",
"episode_count":25,
"episode_length":23,
"show_type":"TV",
"poster_image":"/uploads/anime/poster_images/000/006/589/large/Asuna-sword-art-online-31698947-770-960.jpg?1407613697",
"cover_image":"/uploads/anime/cover_images/000/006/589/thumb/wpid-wp-1392747130721.jpg?1407613706",
"community_rating":3.81526524528934,
"genres":[
"Action",
"Adventure",
"Fantasy",
"Romance",
"Seinen",
"Game"
],
"bayesian_rating":3.81526524528934,
"links":{
"gallery_images":[
4919,
4920,
4921,
4922
],
"episodes":[
113702,
113703,
113704
]
}
},
"linked":{
"gallery_images":[ *omitted* ],
"episodes":[ *omitted* ]
}
}
id
title
synopsis
airdate
number
season_number
{
"id":113702,
"title":"Episode 1",
"synopsis":"On Shimoji Island in Okinawa, Pilot Mikaze Honjyo and her 3 squadron members run a local ramen shop when not on active duty.",
"airdate":null,
"number":1,
"season_number":1
}
id
thumb
original
{
"id": 4232,
"thumb": "https://static.hummingbird.me/gallery_images/images/000/004/232/thumb/4232.jpg?1375602398",
"original": "https://static.hummingbird.me/gallery_images/images/000/004/232/original/4232.jpg?1375602398"
}
General
› Contributing
› License
Local Setup
› Docker
› Binstubs
› Filling the Database
API Usage
› JSON:API (on Apiary.io)
› JSON:API (WIP rewrite of docs)
› GraphQL (Pre-Production)