UDP API Definition: Difference between revisions

Line 995: Line 995:
** bit4 set == Startdate, Unknown Year
** bit4 set == Startdate, Unknown Year
** bit5 set == Enddate, Unknown Year
** bit5 set == Enddate, Unknown Year
=== 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}|{int2 type}|{str gender}
: 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
'''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.
* ''appearance'' values: 0='appears in', 1='cameo appearance in', 2='main character in', 3='secondary cast in'
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
=== CREATOR: Get Creator Information ===
'''Command String:'''
* CREATOR creatorid={int creatorid}
'''Possible Replies:'''
* 245 CREATOR
: {int creatorid}|{str creator name kanji}|{str creator name transcription}|{int type}|{str pic_name}|{str url_english}|{str url_japanese}|{str wiki_url_english}|{str wiki_url_japanese}|{int last update date}
* 345 NO SUCH CREATOR
'''Info:'''
* ANIME AMASK byte6, bit5
* ''type'' values: 1='person', 2='company', 3='collaboration'
Example:
  245 CREATOR
  718|GAINAX|Gainax|2|10092.png||http://www.gainax.co.jp/|Gainax|Gainax|1237048093


=== EPISODE: Retrieve Episode Data ===
=== EPISODE: Retrieve Episode Data ===
Line 1,542: Line 1,587:
* If there are more groups to return than can be stored in a UDP packet, additional groups will be silently discarded
* If there are more groups to return than can be stored in a UDP packet, additional groups will be silently discarded
* ''state'' values: 1=ongoing, 2=stalled, 3=complete, 4=dropped, 5=finished, 6=specials_only
* ''state'' values: 1=ongoing, 2=stalled, 3=complete, 4=dropped, 5=finished, 6=specials_only
=== CREATOR: Get Creator Information ===
'''Command String:'''
* CREATOR creatorid={int creatorid}
'''Possible Replies:'''
* 245 CREATOR
: {int creatorid}|{str creator name kanji}|{str creator name transcription}|{int type}|{str pic_name}|{str url_english}|{str url_japanese}|{str wiki_url_english}|{str wiki_url_japanese}|{int last update date}
* 345 NO SUCH CREATOR
'''Info:'''
* ANIME AMASK byte6, bit5
* ''type'' values: 1='person', 2='company', 3='collaboration'
Example:
  245 CREATOR
  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}|{int2 type}|{str gender}
: 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
'''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.
* ''appearance'' values: 0='appears in', 1='cameo appearance in', 2='main character in', 3='secondary cast in'
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.