API:User Favorites

From TvDBwiki
Revision as of 17:55, 26 January 2008 by Szsori (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This interface returns the favorite series for a user. It also allows client software to add and remove favorites for a user.


<mirrorpath>/api/User_Favorites.php?accountid=<accountidentifier> <mirrorpath>/api/User_Favorites.php?accountid=<accountidentifier>&type=<type>&seriesid=<seriesid>



This is the unique identifier assigned to every user. They can access this value by visiting the account settings page on the site. This is a 16 character alphanumeric string, but you should program your applications to handle id strings up to 32 characters in length.


This is an optional field. If set, it should be either add or remove. Add will add <seriesid> to the user's favorites list, while Remove will remove <seriesid> from their list. If this field is not passed, the list is just returned without any modifications.


This is a required field ONLY when <type> is set. This is the id of the series you're adding or removing for the user.

Example Results

<?xml version="1.0" encoding="UTF-8" ?>
Personal tools