UDP API DEV: Difference between revisions

id/name split
No edit summary
(id/name split)
Line 35: Line 35:
* XXX NO SUCH ANIME
* XXX NO SUCH ANIME
* XXX ANIME
* XXX ANIME
: {int4 aid}|{int2 type}|{int4 eps}|{int4 ep count}|{int4 special cnt}|{int4 rating}|{int4 votes}|{int4 tmprating}|{int4 tmpvotes}|{int4 review rating average}|{int4 reviews}|{str year}|{str romaji}|{str kanji}|{str english}|{str other}|{str synonyms}|{str short names}{str genre list}
: {int4 aid}|{int2 type}|{int4 eps}|{int4 ep count}|{int4 special cnt}|{int4 rating}|{int4 votes}|{int4 tmprating}|{int4 tmpvotes}|{int4 review rating average}|{int4 reviews}|{str year}|{str romaji}|{str kanji}|{str english}|{str other}|{str short names}|{str synonyms}|{str genre list}
* XXX ANIME BEST MATCH
* XXX ANIME BEST MATCH
: {int4 aid}|{int2 type}|{int4 eps}|{int4 ep count}|{int4 special cnt}|{int4 rating}|{int4 votes}|{int4 tmprating}|{int4 tmpvotes}|{int4 review rating average}|{int4 reviews}|{str year}|{str romaji}|{str kanji}|{str english}|{str other}|{str synonyms}|{str short names}{str genre list}
: ...
'''Info:'''
* Synonyms and short names are separated with '§'
* Genre names are separated with ',' and ordered by weight (desc).
* Categories?
* By title: returns the most likely anime, i.e. only one
* NOTE: The genre list is the first data to be truncated if needed. And then: synonym list, short name list. This applies for the FILE command too.
 
'''Examples:''' (html escaped code intended)
'''Examples:''' (html escaped code intended)
   > ANIME name=tmm&s=xxxxx
   > ANIME name=tmm&s=xxxxx
Line 45: Line 52:
   < 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)
'''Info:'''
* Synonyms and short names are separated with '§'
* Genre names are separated with ',' and ordered by weight (desc).
* Categories?
* By title: returns the most likely anime, i.e. only one


'''Comments:'''<br>
'''Comments:'''<br>
Line 63: Line 65:
* EPISODE eid={int4 eid}
* EPISODE eid={int4 eid}
by anime and episode number
by anime and episode number
* EPISODE anime={int4/str anime name or aid}&epno={int4 episode number}
* EPISODE aname={str anime name}&epno={int4 episode number}
* EPISODE aid={int4 anime id}&epno={int4 episode number}
'''Possible Replies:'''
'''Possible Replies:'''
* XXX NO SUCH EPISODE
* XXX NO SUCH EPISODE
* XXX EPISODE
* XXX EPISODE
:: {int4 eid}|{int4 aid}|{int4 length}|{int4 rating}|{int4 votes}|{str epno}|{str eng}|{str romaji}|{str kanji}
: {int4 eid}|{int4 aid}|{int4 length}|{int4 rating}|{int4 votes}|{str epno}|{str eng}|{str romaji}|{str kanji}
'''Examples:'''
'''Info:'''
   > EPISODE eid=1
* length is in minutes
* epno includes special character (only if special) and padding (only if normal)
'''Examples:''' (html escaped code intended)
   > EPISODE eid=1&s=xxxxx
   < 240 EPISODE
   < 240 EPISODE
   1|1|24|400|4|01|Invasion|shinryaku|侵略
   1|1|24|400|4|01|Invasion|shinryaku|侵略
    
    
   > EPISODE anime=Seikai no Monshou&epno=2
   > EPISODE aname=Seikai no Monshou&epno=2&s=xxxxx
   < 240 EPISODE
   < 240 EPISODE
   2|1|24|750|2|02|Kin of the Stars|Hoshi-tachi no Kenzoku|星たちの眷族
   2|1|24|750|2|02|Kin of the Stars|Hoshi-tachi no Kenzoku|星たちの眷族
'''Info:'''
* length is in minutes
* epno includes special character and padding (only if not special atm)


=== GROUP : new ===
=== GROUP : new ===
Line 88: Line 91:
* GROUP gid={int4 gid}
* GROUP gid={int4 gid}
by name/shortname
by name/shortname
* GROUP name={str name}
* GROUP name={str group name}
'''Possible Replies:'''
'''Possible Replies:'''
* XXX NO SUCH GROUP
* XXX NO SUCH GROUP
Line 111: Line 114:
* FILE size={int4 size}&ed2k={str ed2khash}[&code={int4}]
* FILE size={int4 size}&ed2k={str ed2khash}[&code={int4}]
by anime, group and epno
by anime, group and epno
* FILE anime={int4/str anime name or aid}&group={int4/str group name or gid}&epno{int4 episode number}[&code={int4}]
* FILE aname={str anime name}&gname={str group name}&epno={int4 episode number}[&code={int4}]
* FILE aname={str anime name}&gid={int4 group id}&epno={int4 episode number}[&code={int4}]
* FILE aid={int4 anime id}&gname={str group name}&epno={int4 episode number}[&code={int4}]
* FILE aid={int4 anime id}&gid={int4 group id}&epno={int4 episode number}[&code={int4}]


'''Possible Replies:'''
'''Possible Replies:'''
Line 157: Line 163:
|11 ||2048 || str video info || || 27 || 134217728 || str title other
|11 ||2048 || str video info || || 27 || 134217728 || str title other
|- style="background-color: #eee;"
|- style="background-color: #eee;"
|12 ||4096 || str video resolution || || 28 || 268435456 || str synonyms
|12 ||4096 || str video resolution || || 28 || 268435456 || str short names
|-  
|-  
|13 ||8192 || str file type || || 29 || 536870912 || str short names
|13 ||8192 || str file type || || 29 || 536870912 || str synonyms
|- style="background-color: #eee;"
|- style="background-color: #eee;"
|14 ||16384 || str group name || || 30 || 1073741824 || str genre list
|14 ||16384 || str group name || || 30 || 1073741824 || str genre list
Line 165: Line 171:
|15 ||32768 || str group short name || || 31 || -2147483648 || not used
|15 ||32768 || str group short name || || 31 || -2147483648 || not used
|}
|}
'''Examples:'''
'''Examples:''' (html escaped code intended)
<pre>
<pre>
> FILE fid=15201&s=xxxxx
> FILE fid=15201&s=xxxxx
Line 179: Line 185:
83532|896|26316|374|e1980142|KAA|S3|Ayu Mayu Theater 03|Kimi ga Nozomu Eien
83532|896|26316|374|e1980142|KAA|S3|Ayu Mayu Theater 03|Kimi ga Nozomu Eien


> FILE anime=narutaru&group=triad&amp;aone&epno=2&s=xxxxx
> FILE aname=narutaru&gname=triad&amp;aone&epno=2&s=xxxxx
< t001 220 FILE
< t001 220 FILE
15459|782|8772|380|1|171298816|2c8a3b53d94d8579b9b81941c549e108|Narutaru - 02 - Catastrophe During the Daytime - [Triad & AonE].avi
15459|782|8772|380|1|171298816|2c8a3b53d94d8579b9b81941c549e108|Narutaru - 02 - Catastrophe During the Daytime - [Triad & AonE].avi
Line 263: Line 269:
'''Command String:'''<br>
'''Command String:'''<br>
by anime + group + epno
by anime + group + epno
* MYLISTADD anime={int/str anime name or aid}&group={int/str group name or gid}&epno={int4 episode number}[&state={int2 state}&viewed={boolean viewed}&source={str source}&storage={str storage}&other={str other}][&edit=1]
* MYLISTADD aname={str anime name}&gname={str group name}&epno={int4 episode number}[...]
* MYLISTADD aname={str anime name}&gid={int4 group id}&epno={int4 episode number}[...]
* MYLISTADD aid={int4 anime id}&gname={str group name}&epno={int4 episode number}[...]
* MYLISTADD aid={int4 anime id}&gid={int4 group id}&epno={int4 episode number}[&state={int2 state}&viewed={boolean viewed}&source={str source}&storage={str storage}&other={str other}][&edit=1]
'''Possible Replies:'''
'''Possible Replies:'''
* XXX MULTIPLE FILES FOUND
* XXX MULTIPLE FILES FOUND
Line 269: Line 278:
: ...
: ...
: {int4 fid n}|{int4 group name n}
: {int4 fid n}|{int4 group name n}
 
'''Info:'''
* epno==0 means all eps, negative numbers means upto. (-12 -> upto 12)


=== MYLISTDEL : extend ===
=== MYLISTDEL : extend ===
'''Command String:'''<br>
'''Command String:'''<br>
by anime + group + epno
by anime + group + epno
* MYLISTDEL anime={int/str anime name or aid}&group={int/str group name or gid}&epno={int4 episode number}
* MYLISTDEL aname={str anime name}[&gname={str group name}]&epno={int4 episode number}
* MYLISTDEL aname={str anime name}[&gid={int4 group id}]&epno={int4 episode number}
* MYLISTDEL aid={int4 anime id}[&gname={str group name}]&epno={int4 episode number}
* MYLISTDEL aid={int4 anime id}[&gid={int4 group id}]&epno={int4 episode number}
 
'''Possible Replies:'''
'''Possible Replies:'''
* XXX MULTIPLE FILES FOUND
* XXX MULTIPLE FILES FOUND
Line 280: Line 294:
: ...
: ...
: {int4 fid n}|{int4 group name n}
: {int4 fid n}|{int4 group name n}
'''Info:'''
* epno==0 means all eps, negative numbers means upto. (-12 -> upto 12)
* group is optional


== Misc ==
== Misc ==
546

edits

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