UDP API Definition: Difference between revisions

Jump to navigation Jump to search
Line 969: Line 969:


----
----
=== CALENDAR: Get Upcoming Titles ===
Returns the anime ids of the 25 most recently aired / released anime, directly followed by the next 25 anime due to be aired / released, ordered by start date.
'''Command String:'''
* CALENDAR
'''Possible Replies:'''
* 297 CALENDAR
{int aid}|{int startdate}|{int dateflags}/n
..repeated n times
* 397 CALENDAR EMPTY
'''Info:'''
* Takes no parameters (other than the session string)
* Titles returned are filtered by the 'show adult' preference of the logged in user.  That is, users who have elected to hide adult content will have it hidden here as well.
* Do not depend on the command always returning exactly 50 titles; there may not always be 25 future titles pending, depending on the user's 'adult' preferences, and the date in relation to the relation to the current anime season.
* Date flags are used to indicated an unknown value (unknown month, day, year)
* ''dateflags'' values:
** bit0 set == Startdate, Unknown Day
** bit1 set == Startdate, Unknown Month
** bit2 set == Enddate, Unknown Day
** bit3 set == Enddate, Unknown Month
** bit4 set == Startdate, Unknown Year
** bit5 set == Enddate, Unknown Year
=== EPISODE: Retrieve Episode Data ===
=== EPISODE: Retrieve Episode Data ===
'''Command String:'''<br>
'''Command String:'''<br>
Line 996: Line 1,023:


----
----
=== FILE: Retrieve File Data ===
=== FILE: Retrieve File Data ===
'''Command String:'''<br>
'''Command String:'''<br>

Navigation menu

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