UDP API Definition: Difference between revisions

Line 1,543: Line 1,543:
'''Possible Replies:'''
'''Possible Replies:'''
* 235 CHARACTER
* 235 CHARACTER
: {int charid}|{str character name kanji}|{str character name transcription}|{str pic}|{anime blocks}|{int episode list}|{int last update date}
: {int charid}|{str character name kanji}|{str character name transcription}|{str pic}|{anime blocks}|{int episode list}|{int last update date}|{int2 type}|{str gender}


: 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 ( ' ).  
: An 'anime block' is {int anime id},{int appearance},{int creatorid},{boolean is_main_seiyuu} repeated as many times as necessary, separated by a single quote ( ' ).  


* 335 NO SUCH CHARACTER
* 335 NO SUCH CHARACTER
Line 1,552: Line 1,552:
* 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.
* 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.
* 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', 3='secondary cast in'
* ''appearance'' values: 0='appears in', 1='cameo appearance in', 2='main character in', 3='secondary cast in'


Example:
Example:
MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.