Documentation home page

CFlickr.tags
Component TagsInterface

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

getHotList

public array getHotList([string period], [numeric count])
Returns a list of hot tags for the given period.

Parameters:
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.

getListPhoto

public array getListPhoto(string photo_id)
Get the tag list for a given photo.

Parameters:
string photo_id (Required) - The id of the photo to return tags for.

getListUser

public array getListUser([string user_id])
Get the tag list for a given user (or the currently logged in user).

Parameters:
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.

getListUserPopular

public array getListUserPopular([string user_id], [numeric count])
Get the popular tags for a given user (or the currently logged in user).

Parameters:
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.

getListUserRaw

public array getListUserRaw([string tag])
Get the raw versions of a given tag (or all tags) for the currently logged-in user.

Parameters:
string tag (Optional) - The tag you want to retrieve all raw versions for.

getRelated

public array getRelated(string tag)
Returns a list of tags 'related' to the given tag, based on clustered usage analysis.

Parameters:
string tag (Required) - The tag to fetch related tags for.