-
Notifications
You must be signed in to change notification settings - Fork 264
API v1 Structures (Deprecated)
James Harris edited this page May 26, 2017
·
1 revision
This document lists the objects returned by API v1 methods.
- Anime object
- Library entry object
- Library entry rating object
- Favorite object
- User object
- User object (mini)
- Story object
- Substory object
id-
mal_idMyAnimeList ID. slug-
statusAiring status.
Can be one ofNot Yet Aired,Currently Airing,Finished Airing. -
urlLink to the anime page at Hummingbird's website. -
titleMain title. -
alternate_titleAlternative title. Can be empty. -
episode_countTotal number of episodes. -
episode_lengthLength of an episode in minutes. -
cover_imageURL to poster image. -
synopsisCan be empty. -
show_typeCan be one ofTV,Movie,OVA,ONA,Special,Music. -
started_airingDate inYYYY-MM-DDformat. -
finished_airingDate inYYYY-MM-DDformat. -
community_ratingCan be a number between0.0and5.0. -
age_ratingCan be one ofG,PG,PG13,R17+,R18+. -
genresArray of genres.
{
"id": 7622,
"mal_id": 17265,
"slug": "log-horizon",
"status": "Finished Airing",
"url": "https://hummingbird.me/anime/log-horizon",
"title": "Log Horizon",
"alternate_title": "",
"episode_count": 25,
"episode_length": 25,
"cover_image": "https://static.hummingbird.me/anime/poster_images/000/007/622/large/b0012149_5229cf3c7f4ee.jpg?1408461927",
"synopsis": "The story begins when 30,000 Japanese gamers are trapped in the fantasy online game world Elder Tale. What was once a sword-and-sorcery world is now the real world. The main lead Shiroe attempts to survive with his old friend Naotsugu and the beautiful assassin Akatsuki.\r\n(Source: ANN)",
"show_type": "TV",
"started_airing": "2013-10-05",
"finished_airing": "2014-03-22",
"community_rating": 4.16741419054807,
"age_rating": "PG13",
"genres": [
{ "name": "Action" },
{ "name": "Adventure" },
{ "name": "Magic" },
{ "name": "Fantasy" },
{ "name": "Game" }
]
}-
id(should be ignored) -
episodes_watchedLast watched episode number. -
last_watchedDate and time in ISO 8601 format. -
updated_atDate and time in ISO 8601 format. rewatched_times-
notesPersonal notes. -
notes_presentBoolean value that defines ifnotesis available. -
statusWatching status.
Can be one ofcurrently-watching,plan-to-watch,completed,on-hold,dropped. -
privateBoolean value that defines if the entry is hidden from public view. -
rewatchingBoolean value to set rewatching status. -
animeAnime object. -
ratingLibrary entry rating object.
{
"id": 5593549,
"episodes_watched": 20,
"last_watched": "2014-06-20T05:31:27.074Z",
"updated_at": "2014-08-18T16:04:05.383Z",
"rewatched_times": 0,
"notes": "",
"notes_present": false,
"status": "currently-watching",
"private": false,
"rewatching": false,
"anime": { *omitted* },
"rating": { *omitted* }
}-
typeCan be one ofsimple,advanced. -
value
Iftypeissimple, can benegative,neutral,positive.
Iftypeisadvanced, can be a number between0.0and5.0.
{
"type": "advanced",
"value": "4.0"
}Ratings can be converted in the following manner:
| simple | advanced |
|---|---|
negative |
[0, 2.4] |
neutral |
(2.4, 3.6) |
positive |
[3.6, 5] |
iduser_iditem_id-
item_typeCan beAnime. -
created_atDate and time in ISO 8601 format. -
updated_atDate and time in ISO 8601 format. -
fav_rank(should be ignored)
{
"id": 87118,
"user_id": 2516,
"item_id": 3936,
"item_type": "Anime",
"created_at": "2014-04-25T11:50:34.831Z",
"updated_at": "2014-04-25T11:50:34.831Z",
"fav_rank": 9999
}-
nameUsername. -
waifuThe name of waifu/husbando. -
waifu_or_husbandoCan be one ofWaifu,Husbando(in some cases, other values). -
waifu_slugSlug of the anime waifu/husbando belongs to. -
waifu_char_idCharacter ID. location-
websiteWebsite URL. -
avatarAvatar URL (190x190 pixels). -
cover_imageCover image URL (2800x660 pixels). -
about(should be ignored) -
bioAbout text. -
karma(should be ignored) -
life_spent_on_animeTime spent watching anime, in minutes. -
show_adult_contentBoolean value that defines if NSFW content is allowed. -
title_language_preferenceCan be one ofcanonical,english,romanized. -
last_library_updateDate and time in ISO 8601 format. -
onlineBoolean value that defines if the user is online at Hummingbird website. -
following(should be ignored) -
favoritesArray of favorite objects.
{
"name": "erengy",
"waifu": "Taiga Aisaka",
"waifu_or_husbando": "Waifu",
"waifu_slug": "toradora",
"waifu_char_id": "25930",
"location": "",
"website": "http://erengy.com",
"avatar": "http://static.hummingbird.me/users/avatars/000/002/516/thumb/hb-avatar.jpg?1393289118",
"cover_image": "http://static.hummingbird.me/users/cover_images/000/002/516/thumb/hummingbird_cover.jpg?1392287635",
"about": null,
"bio": "Hi.",
"karma": 0,
"life_spent_on_anime": 114520,
"show_adult_content": true,
"title_language_preference": "canonical",
"last_library_update": "2014-06-21T19:28:00.443Z",
"online": false,
"following": false,
"favorites": [ *omitted* ]
}-
nameUsername. -
urlURL to user profile page at Hummingbird. -
avatarAvatar URL (190x190 pixels). -
avatar_smallAvatar URL (100x100 pixels). -
nb(should be ignored)
{
"name": "erengy",
"url": "http://hummingbird.me/users/erengy",
"avatar": "http://static.hummingbird.me/users/avatars/000/002/516/thumb/hb-avatar.jpg?1393289118",
"avatar_small": "http://static.hummingbird.me/users/avatars/000/002/516/thumb_small/hb-avatar.jpg?1393289118",
"nb": false
}-
idStory identifier. -
story_typeCan be one ofcomment,media_story. -
userMini user object. -
updated_atDate and time in ISO 8601 format. -
self_postBoolean value. Only available ifstory_typeiscomment. -
posterMini user object. Only available ifstory_typeiscomment. -
mediaAnime object. Only available ifstory_typeismedia_story. -
substories_countTotal number of substories. -
substoriesArray of substory objects.
{
"id": 2640597,
"story_type": "comment",
"user": { *omitted* },
"updated_at": "2014-06-21T10:37:36.730Z",
"self_post": false,
"poster": { *omitted* },
"substories_count": 1,
"substories": [ *omitted* ]
}id-
substory_type
Can be one ofcomment,followed,watched_episode,watchlist_status_update. -
created_atDate and time in ISO 8601 format. -
commentOnly available ifsubstory_typeiscomment. -
episode_numberOnly available ifsubstory_typeiswatched_episode. -
followed_userMini user object. Only available ifsubstory_typeisfollowed. -
new_statusOnly available ifsubstory_typeiswatchlist_status_update.
Can be one ofcurrently-watching,plan-to-watch,completed,on-hold,dropped. -
service(should be ignored) Only available ifsubstory_typeiswatched_episode. -
permissions(should be ignored)
{
"id": 6590163,
"substory_type": "watched_episode",
"created_at": "2014-06-23T21:25:49.084Z",
"episode_number": "12",
"service": null,
"permissions": {}
}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)