View Issue Details

IDProjectCategoryView StatusLast Update
0001512AniDB UDP APIFeature Requestpublic2016-01-10 01:42
Reporterpaziek Assigned To 
PrioritynormalSeveritytweakReproducibilityN/A
Status newResolutionopen 
Summary0001512: Needed handler in HTTP API for some new HTTP requests that I'm making (wishlist/notify)
DescriptionExample request for notify
animedb.pl?show=xml&t=anime&aid=5786&adba.notify=on&adba.notifytype=0

Example request for wishlist
animedb.pl?show=xml&t=anime&aid=5786&adba.wishlist=on&adba.wishlisttype=2&adba.wishlistpri=1


Also the same for removing those, then there is "off" instead of "on" and there are no types/pri.


Example response (for all those requests)
On success:
<?xml version="1.0" encoding="UTF-8"?><response>1</response>
On failure:
<?xml version="1.0" encoding="UTF-8"?><response>0</response>
TagsNo tags attached.

Activities

DerIdiot

2009-07-24 16:10

administrator   ~0002875

Last edited: 2009-07-24 16:10

there is no public http api. what you are using is internal stuff. the public one isn't done yet

Ommina

2009-08-02 07:33

administrator   ~0002907

As stated, there is no public HTTP API. So be warned that what you are using may change, at any time, at whim.

That said - were wishlist / notification support be added to the UDP API, would they be used?

paziek

2009-08-02 10:45

reporter   ~0002908

Well, actually I'm (was) doing it for Fahrenheit and if successful it was supposed to be integrated into AniDB site (or so I guess, since it was my response for his request for JS coders).
The thing is, that I've got frustrated on how much custom parsing/switching/etc would it need if it were pure JS, so apart from this addition to HTTP API it would be good to have modification to HTML output, so that function could work in more generic fashion. I guess this also would require HTTP API to "tell" script what to do (like for example "You have switched that element, so now you need to switch those [] as well").

Here is what I did some time ago (2-3 months?) http://91.121.39.10/anidb/
But stopped due to that issue mentioned above. Maintaining this script would be a real pain in the ass. If some1 decides to change sth in place where it [script] does its business - you would have to change script as well. But not if it were generic, and rely on HTTP attributes and responses/instructions from API.

Issue History

Date Modified Username Field Change
2009-04-18 19:38 paziek New Issue
2009-07-24 16:10 DerIdiot Note Added: 0002875
2009-07-24 16:10 DerIdiot Note Edited: 0002875
2009-07-24 16:10 DerIdiot Status new => assigned
2009-07-24 16:10 DerIdiot Assigned To => Ommina
2009-07-24 16:10 DerIdiot Project HTML & PERL => AniDB UDP API
2009-08-02 07:33 Ommina Note Added: 0002907
2009-08-02 10:45 paziek Note Added: 0002908
2009-09-16 21:14 Ommina Assigned To Ommina => fahrenheit
2009-09-17 08:04 DerIdiot Project AniDB UDP API => AJAX/JS
2015-02-16 02:10 DerIdiot Status assigned => new
2015-02-16 02:11 DerIdiot Assigned To fahrenheit =>
2016-01-08 00:33 DerIdiot Status new => closed
2016-01-08 00:33 DerIdiot Assigned To => DerIdiot
2016-01-08 00:33 DerIdiot Resolution open => won't fix
2016-01-08 00:34 DerIdiot Project AJAX/JS => AniDB UDP API
2016-01-08 00:34 DerIdiot Category Feature Request - Interface => General
2016-01-08 00:34 DerIdiot Status closed => new
2016-01-08 00:34 DerIdiot Resolution won't fix => open
2016-01-08 00:34 DerIdiot Category General => Feature Request
2016-01-10 01:42 DerIdiot Assigned To DerIdiot =>