UDP API Definition: Difference between revisions

Line 1,475: Line 1,475:
   245 CREATOR
   245 CREATOR
   718|GAINAX|Gainax|2|10092.png||http://www.gainax.co.jp/|Gainax|Gainax|1237048093
   718|GAINAX|Gainax|2|10092.png||http://www.gainax.co.jp/|Gainax|Gainax|1237048093
=== 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:'''
* 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'
{{eyecatch|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.}}
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


== MyList Commands ==
== MyList Commands ==
MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.