546
edits
Epoximator (talk | contribs) m (clean) |
|||
Line 7: | Line 7: | ||
== Data Commands == | == Data Commands == | ||
=== [[UDP_API_Definition#ANIME:_Retrieve_Anime_Data|ANIME]] === | === [[UDP_API_Definition#ANIME:_Retrieve_Anime_Data|ANIME]] === | ||
=== [[UDP_API_Definition#ANIMEINFO:_Retrieve_Anime_Data|ANIMEINFO]] === | === [[UDP_API_Definition#ANIMEINFO:_Retrieve_Anime_Data|ANIMEINFO]] === | ||
Line 20: | Line 13: | ||
'''Replies:''' | '''Replies:''' | ||
* This command should return all missing informations from ANIME, sush as companies, external links (ANN, ...), awards, ... | * This command should return all missing informations from ANIME, sush as companies, external links (ANN, ...), awards, ...--[[User:Darsh|Darsh]] 12:10, 19 April 2006 (CEST) | ||
: OK. But included in ANIME with an argument, like acode.--[[User:Epoximator|Epoximator]] 00:18, 21 April 2006 (CEST) | |||
=== [[UDP_API_Definition#EPISODE:_Retrieve_Episode_Data|EPISODE]] === | === [[UDP_API_Definition#EPISODE:_Retrieve_Episode_Data|EPISODE]] === | ||
=== [[UDP_API_Definition#GROUP:_Retrieve_Group_Data|GROUP]] === | === [[UDP_API_Definition#GROUP:_Retrieve_Group_Data|GROUP]] === | ||
=== [[UDP_API_Definition#FILE:_Retrieve_File_Data|FILE]] === | === [[UDP_API_Definition#FILE:_Retrieve_File_Data|FILE]] === | ||
Line 37: | Line 25: | ||
: fid|state | : fid|state | ||
'''Comments:'''<br> | '''Comments:'''<br> | ||
Selection by anime, group and episode number is not unique. As an example: FILE aid=22&gid=41&tag=tag0002&epno=1 <br> | |||
Selection by anime, group and episode number is not unique. | |||
As an example: FILE aid=22&gid=41&tag=tag0002&epno=1 <br> | |||
This commands always return only the first match. --[[User:Darsh|Darsh]] 12:10, 19 April 2006 (CEST) | This commands always return only the first match. --[[User:Darsh|Darsh]] 12:10, 19 April 2006 (CEST) | ||
: Can be fixed with MULTIPLE FILES FOUND, or just return the latest version. Maybe selectable with an argument.--[[User:Epoximator|Epoximator]] 00:18, 21 April 2006 (CEST) | : Can be fixed with MULTIPLE FILES FOUND, or just return the latest version. Maybe selectable with an argument.--[[User:Epoximator|Epoximator]] 00:18, 21 April 2006 (CEST) | ||
Add {str anidbfilename} to fcode? --[[User:Darsh|Darsh]] 10:56, 25 April 2006 (CEST) | Add {str anidbfilename} to fcode? --[[User:Darsh|Darsh]] 10:56, 25 April 2006 (CEST) | ||
Line 167: | Line 143: | ||
=== ENCODING === | === ENCODING === | ||
Sets preferred encoding. | Sets preferred encoding per session. | ||
'''Command String:''' | '''Command String:''' | ||
Line 178: | Line 154: | ||
'''Info:''' | '''Info:''' | ||
* Supported encodings: http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html | * Supported encodings: http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html | ||
* Default: ASCII. | * Default: ASCII. Reset on logout. | ||
=== [[UDP_API_Definition#AUTH:_Authing_to_the_AnimeDB|AUTH]] : extend === | === [[UDP_API_Definition#AUTH:_Authing_to_the_AnimeDB|AUTH]] : extend === | ||
Line 201: | Line 171: | ||
'''Notification Packet Format:''' | '''Notification Packet Format:''' | ||
XXX {int4 notify_packet_id} NOTIFICATION | XXX {int4 notify_packet_id} NOTIFICATION | ||
{int4 | {int4 time offline}|{int4 comment} | ||
'''Info:''' | '''Info:''' | ||
* | * Time offline is the time in minutes the API will be down, 0 if indefinite (client can direct user to the anidb site for status updates). | ||
* comment | * The comment is a short explanation for the downtime. | ||
* Only one datagram will be sent, and the server will not listen for replies. | |||
'''Comment:''' | |||
: Time offline and comment will most likely not be specified normally. '0|None' will be the default and should indicate restart for update. --[[User:Epoximator|Epoximator]] 20:52, 28 April 2006 (CEST) | |||
[[Category:Development]] |
edits