AbstractInterface | +--tags.TagsInterface
| Method Summary | |
public array |
getHotList([string period], [numeric count])
Returns a list of hot tags for the given period. |
public array |
getListPhoto(string photo_id)
Get the tag list for a given photo. |
public array |
getListUser([string user_id])
Get the tag list for a given user (or the currently logged in user). |
public array |
getListUserPopular([string user_id], [numeric count])
Get the popular tags for a given user (or the currently logged in user). |
public array |
getListUserRaw([string tag])
Get the raw versions of a given tag (or all tags) for the currently logged-in user. |
public array |
getRelated(string tag)
Returns a list of tags 'related' to the given tag, based on clustered usage analysis. |
| Methods inherited from AbstractInterface |
init
|
| Method Detail |
public array getHotList([string period], [numeric count])
string period (Optional) - The period for which to fetch hot tags. Valid values are day and week (defaults to day).numeric count (Optional) - The number of tags to return. Defaults to 20. Maximum allowed value is 200.public array getListPhoto(string photo_id)
string photo_id (Required) - The id of the photo to return tags for. public array getListUser([string user_id])
string user_id (Optional) - The NSID of the user to fetch the tag list for. If this argument is not specified, the currently logged in user (if any) is assumed. public array getListUserPopular([string user_id], [numeric count])
string user_id (Optional) - The NSID of the user to fetch the tag list for. If this argument is not specified, the currently logged in user (if any) is assumed. numeric count (Optional) - Number of popular tags to return. defaults to 10 when this argument is not present. public array getListUserRaw([string tag])
string tag (Optional) - The tag you want to retrieve all raw versions for.public array getRelated(string tag)
string tag (Required) - The tag to fetch related tags for.