-
Notifications
You must be signed in to change notification settings - Fork 264
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-
titlesObject with all available titles canonicalenglishromajijapaneseslug-
synopsisCan be empty. -
started_airing_dateDate inYYYY-MM-DDformat. -
finished_airing_dateDate inYYYY-MM-DDformat. youtube_video_id-
age_ratingCan be one ofG,PG,PG13,R17+,R18+. -
episode_countTotal number of episodes. -
episode_lengthLength of an episode in minutes. -
show_typeCan be one ofTV,Movie,OVA,ONA,Special,Music. -
poster_imageURL to poster image. -
cover_imageURL to coverimage. -
community_ratingCan be a number between0.0and5.0. -
genresAn array of genres. -
bayesian_ratingAverage rating of the show links-
gallery_imagesAn array of gallery image objects. -
episodesAn 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* ]
}
}idtitlesynopsisairdatenumberseason_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
}idthumboriginal
{
"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)