UDP API DEV: Difference between revisions

Jump to navigation Jump to search
30 bytes removed ,  24 September 2006
m
no edit summary
mNo edit summary
mNo edit summary
Line 27: Line 27:
'''Notes:'''
'''Notes:'''
* The lid of the added file is written in the reply only in case just one file was added. ''Actualy, if many files were added, there lid's would by useless to client because it wouldn't know the correspondence between lid's and files.''
* The lid of the added file is written in the reply only in case just one file was added. ''Actualy, if many files were added, there lid's would by useless to client because it wouldn't know the correspondence between lid's and files.''
== Notify Commands ==
=== NOTIFYGET: Get Notification/Message ===
--[[User:raboni|raboni]] 17:13, 6 Sep 2006 (GMT+1)<br>
: --edited by [[User:raboni|raboni]] 19:30, 7 Sep 2006 (GMT+1)
Feature request: When you get the notification you only find the anime name and the anime id in it. It would be better if you can also get the file id with this notification, so you can find out which group has released the movie. It is a headache to find the groupname in the HTTP page, if you have in mind that when more than one group release a movie in one day and you have to find out which you wanna have...
'''Command String:'''
* NOTIFYGET type={str type}&id={int4 id}
'''Possible Replies:'''<br>
when type = N
* 293 NOTIFYGET
: {int4 aid}|{int4 type}|{int2 count}|{int4 date}|{str anime_name} <-- for backward compatibility
: {int4 date}|{int4 fid}
: ...
* 393 NO SUCH ENTRY
'''Info:'''
* fid
: The File ID of the given episode that has been released.
'''Example:'''
  > NOTIFYGET type=N&id=2369&s=xxxxx
  < 293 NOTIFYGET
  2369|2|2|1157526622|Bleach
  1157526611|259847
  1157526622|259848
'''Comments:'''
The current system doesn't store fids, only count, when i think about it. This has to be approved by exp himself.--[[User:Epoximator|Epoximator]] 10:33, 24 September 2006 (UTC)


== Misc Commands ==
== Misc Commands ==


== USER LIST COMMANDS ==
=== USERLIST : Retrieve Mylist Data of a specified user [<span style="color:red">rejected</span>] ===
=== USERLIST : Retrieve Mylist Data of a specified user [<span style="color:red">rejected</span>] ===


Line 77: Line 110:
:What I'm really interested in is maintaining local dbs of 3/4 user lists and having a client automatically update them every 2/3 weeks. We use this to coordinate information within our country regarding who has what =p. But what we're interested in is a way to be able to selectively retrieve the entire list by some index. OFcourse if its slow, then it makes sense to maintain it locally and just look for changes. The other thing I really want is to somehow retrieve with mylist file data (or user list file data), the date at which something was added to the list. (I understand this information exists). The idea here is we can locally query these lists for files added within the last 2/3 months. --[[User:path|path]] 11:53, 25 June 2006 (IST)
:What I'm really interested in is maintaining local dbs of 3/4 user lists and having a client automatically update them every 2/3 weeks. We use this to coordinate information within our country regarding who has what =p. But what we're interested in is a way to be able to selectively retrieve the entire list by some index. OFcourse if its slow, then it makes sense to maintain it locally and just look for changes. The other thing I really want is to somehow retrieve with mylist file data (or user list file data), the date at which something was added to the list. (I understand this information exists). The idea here is we can locally query these lists for files added within the last 2/3 months. --[[User:path|path]] 11:53, 25 June 2006 (IST)
::That's really not wanted usage for this api. Have you thought about the possibility to use mylist export? You know you can make you own export template and get all the info you want at once? A command that query all changes (lids) within the last 2/3 months (or even weeks) is not going to be added. --[[User:Epoximator|Epoximator]] 12:36, 25 June 2006 (UTC)
::That's really not wanted usage for this api. Have you thought about the possibility to use mylist export? You know you can make you own export template and get all the info you want at once? A command that query all changes (lids) within the last 2/3 months (or even weeks) is not going to be added. --[[User:Epoximator|Epoximator]] 12:36, 25 June 2006 (UTC)
== NOTIFY COMMANDS ==
=== NOTIFYGET: Get Notification/Message ===
--[[User:raboni|raboni]] 17:13, 6 Sep 2006 (GMT+1)<br>
: --edited by [[User:raboni|raboni]] 19:30, 7 Sep 2006 (GMT+1)
Feature request: When you get the notification you only find the anime name and the anime id in it. It would be better if you can also get the file id with this notification, so you can find out which group has released the movie. It is a headache to find the groupname in the HTTP page, if you have in mind that when more than one group release a movie in one day and you have to find out which you wanna have...
'''Command String:'''
* NOTIFYGET type={str type}&id={int4 id}
'''Possible Replies:'''<br>
when type = N
* 293 NOTIFYGET
: {int4 aid}|{int4 type}|{int2 count}|{int4 date}|{str anime_name} <-- for backward compatibility
: {int4 date}|{int4 fid}
: ...
* 393 NO SUCH ENTRY
'''Info:'''
* fid
: The File ID of the given episode that has been released.
'''Example:'''
  > NOTIFYGET type=N&id=2369&s=xxxxx
  < 293 NOTIFYGET
  2369|2|2|1157526622|Bleach
  1157526611|259847
  1157526622|259848
'''Comments:'''
The current system doesn't store fids, only count, when i think about it. This has to be approved by exp himself.--[[User:Epoximator|Epoximator]] 10:33, 24 September 2006 (UTC)
----


== Web Service API ==
== Web Service API ==
546

edits

Navigation menu

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