UDP API DEV: Difference between revisions

m
Line 6: Line 6:


== Data Commands ==
== Data Commands ==
=== [[UDP_API_Definition#ANIME:_Retrieves_data_for_a_specific_anime|ANIME]] ===
=== [[UDP_API_Definition#ANIME:_Retrieve_Anime_Data|ANIME]] ===
'''Possible Replies:'''
'''Possible Replies:'''
* XXX ANIME BEST MATCH
* XXX ANIME BEST MATCH
Line 15: Line 15:
::Oh, specifically, I'd like anime lookups to be able to take sjis/utf8 rather than just html escaped ascii, as an option. While all real programming languages have trivial encoding switching: <code>string.decode('sjis').encode('ascii','xmlcharrefreplace')</code> some that might find a use for udp access to anidb (such as the dire mirc scripting language), do not, so dealing with it serverside would be nice. --[[User:Rar|Rar]] 01:28, 29 January 2006 (CET)
::Oh, specifically, I'd like anime lookups to be able to take sjis/utf8 rather than just html escaped ascii, as an option. While all real programming languages have trivial encoding switching: <code>string.decode('sjis').encode('ascii','xmlcharrefreplace')</code> some that might find a use for udp access to anidb (such as the dire mirc scripting language), do not, so dealing with it serverside would be nice. --[[User:Rar|Rar]] 01:28, 29 January 2006 (CET)


=== [[UDP_API_Definition#ANIMEINFO:_Retrieves_additional_data_for_a_specific_anime|ANIMEINFO]] ===
=== [[UDP_API_Definition#ANIMEINFO:_Retrieve_Anime_Data|ANIMEINFO]] ===
'''Syntax:'''
'''Syntax:'''
* ANIMEINFO aid={int4 id} | aname={str animename}
* ANIMEINFO aid={int4 id} | aname={str animename}
Line 23: Line 23:


--[[User:Darsh|Darsh]] 12:10, 19 April 2006 (CEST)
--[[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:_Retrieves_data_for_a_specific_episode|EPISODE]] ===
=== [[UDP_API_Definition#EPISODE:_Retrieve_Episode_Data|EPISODE]] ===
=== [[UDP_API_Definition#GROUP:_Retrieves_data_for_a_specific_group|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]] ===
'''Possible return codes:'''
* XXX MULTIPLE FILES FOUND
: fid|state
'''Comments:'''<br>
'''Comments:'''<br>
Pass a list of fields (limit e.g. 10 entries)
Pass a list of fields (limit e.g. 10 entries)
Line 41: Line 44:


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)


== Buddy Commands ==
== Buddy Commands ==
546

edits

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