358
edits
Line 62: | Line 62: | ||
=== WISHLIST: Retrieve Wishlist Data === | === WISHLIST: Retrieve Wishlist Data === | ||
Retrieve wishlist data for the logged-in user. | |||
'''Command String:'''<br> | |||
full list: | |||
* WISHLIST | |||
by aid: | |||
* WISHLIST aid={int4 aid} | |||
by wishlist id: | |||
* WISHLIST lid={int4 lid} | |||
by priority: | |||
* WISHLIST priority={int4 priority} | |||
<br> | |||
'''Possible Replies:'''<br> | |||
<br> | |||
by aid, lid: | |||
*223 WISHLIST | |||
: {int4 lid}|{int4 aid}|{int2 type}|{int2 priority}|{int4 fromuid}|{str comment}|{int4 adddate} | |||
<br> | |||
full list, by priority: | |||
*229 MULTIPLE WISHLIST ITEMS | |||
: {int4 aid}|{int4 type}|{int4 priority}{newline} | |||
: {int4 aid}|{int4 type}|{int4 priority}{newline} | |||
: (repeats) | |||
<br> | |||
*323 NO SUCH WISHLIST ITEM | |||
'''Info:''' | |||
* ''Priority'' values are 0: low, 1: medium, 2:high | |||
* ''Type'' values are 1: to watch, 2: to get | |||
* Multiple items are returned in descending priority (high priority first) | |||
* The ''fromuid'' field represents the uid of the user that created the wishlist entry. Typically this is the actual user, but could be a buddy. | |||
=== WISHLISTADD: Add Anime to Wishlist === | === WISHLISTADD: Add Anime to Wishlist === |