UDP API Definition: Difference between revisions

no edit summary
No edit summary
Line 623: Line 623:
   < 230 ANIME
   < 230 ANIME
   239|0|140|2|1000|10|855|3750|803|36|2002-2005|TV|Naruto|&#12490;&#12523;&#12488;||&#1504;&#1488;&#1512;&#1493;&#1496;&#1493;|NARUTO'&#1606;&#1575;&#1585;&#1608;&#1578;&#1608;|naruto tv'ntv|Action,Shounen,Past,...(cut)
   239|0|140|2|1000|10|855|3750|803|36|2002-2005|TV|Naruto|&#12490;&#12523;&#12488;||&#1504;&#1488;&#1512;&#1493;&#1496;&#1493;|NARUTO'&#1606;&#1575;&#1585;&#1608;&#1578;&#1608;|naruto tv'ntv|Action,Shounen,Past,...(cut)
----
=== ANIMEDESC: Retrieve Anime Description ===
'''Command String:'''<br>
by aid
* ANIMEDESC aid={int4 id}&part={int4 partno}
'''Possible Replies:'''
* 233 ANIMEDESC
: {int4 current part}|{int4 max parts}|{str description}
* 330 NO SUCH ANIME
* 333 NO SUCH DESCRIPTION
'''Info:'''
* The maximum length of the anime description is roughly 5000 characters, but the maximum length of a UDP packet is 1400 bytes
* Multiple calls to ANIMEDESC may be necessary to retrieve the complete text, retrieving separate 1400 byte parts with each call
* ''part'' is zero-based
* Note: No support, at present, for retrieving descriptions by title.  ''aid'' only
'''Examples:''' (html escaped code intended)
  > ANIMEDESC aid=3169&part=0&s=xxxxx
  < 233 ANIMEDESC
    0|1|As summer break arrives for the students, Jun Sakurada is busily studying on his own in the library, making up for time lost <cut>


----
----
MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.