User:Ommina

From AniDB
Jump to navigation Jump to search





ANIME Relationship Types

1 => 'sequel', 2 => 'prequel',

11 => 'same setting', 12 => 'same setting',

21 => 'alternative setting', 22 => 'alternative setting',

31 => 'alternative version', 32 => 'alternative version',

41 => 'character', 42 => 'character',

51 => 'side story', 52 => 'parent story',

61 => 'summary', 62 => 'full story',

100 => 'other'


CATEGORY: Retrieve Category Data

CALENDAR: Get Upcoming Titles

Returns the anime ids of the next ten anime due to be aired / released, ordered by start date.

Command String:

  • CALENDAR

Possible Replies:

  • 296 CALENDAR

{int aid}|{int startdate}|{int dateflags}/n

..repeated nine times

  • nnn CALENDAR EMPTY

Info:

  • Takes no parameters (other than the session string)
  • Titles returned are filtered by the 'show adult' preference of the logged in user. That is, users who have elected to hide adult content will have it hidden here as well.
  • Date flags are used to indicated an unknown value (unknown month, unknown day)
  • dateflags values: [Look them up]

Example:

 CHARACTER charid=488&s=DChan
 235 CHARACTER
 488|ニコ・ロビン|Nico Robin|14789.jpg|4097,2,1900,1'69,2,1901,0'6199,0,1900,1'5691,0,1900,1'2644,0,,'4851,0,1900,1||1236938094

WISHLIST: Retrieve Wishlist Data

WISHLISTADD: Add Anime to Wishlist

WISHLISTDEL: Remove Anime from Wishlist

NOTIFICATION: Retrieve Notification Date

NOTIFICATIONADD: Add Anime or Group to Notify List

NOTIFICATIONDEL: Remove Anime or Group from Notify List

Empty Table

Byte 1
Bit Decimal Data Field
0 1 String
1 2 String
2 4 String
3 8 String
4 16 String
5 32 String
6 64 String
7 128 String


CHARACTER: Get Character Information

Returns character details associated with a given character ID, including associated anime ids, episode ids, and seiyuu.

Command String:

  • CHARACTER charid={int characterid}

Possible Replies:

  • 235 CHARACTER
{int charid}|{str character name kanji}|{str character name transcription}|{str pic}|{anime blocks}|{int episode list}|{int last update date}
An 'anime block' is {int anime id},{int type},{int creatorid},{boolean is_main_seiyuu} repeated as many times as necessary, separated by a single quote ( ' ).
  • 335 NO SUCH CHARACTER

Info:

  • ANIME AMASK byte6, bit7
  • If no seiyuu is associated with the character for a given aid, the 'creatorid' and 'is_main_seiyuu' fields will be empty, but the commas will remain.
  • An empty episode list is "undefined": no episode values have been added.
  • type values: 0='appears in', 1='cameo appearance in', 2='main character in'
Note Some anime have many characters associated with them - far more than can fit in a single UDP block. Character ids will be the first to be truncated if a packet is too long.

(Note---change existing documentation if necessary, it claims categories are chopped first.)

Example:

 CHARACTER charid=488&s=DChan
 235 CHARACTER
 488|ニコ・ロビン|Nico Robin|14789.jpg|4097,2,1900,1'69,2,1901,0'6199,0,1900,1'5691,0,1900,1'2644,0,,'4851,0,1900,1||1236938094