SAY MEDIA > WWW-TypePad-0.4002 > WWW::TypePad::Badges

Download:
WWW-TypePad-0.4002.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

WWW::TypePad::Badges - Badges API methods

METHODS ^

get
  my $res = $tp->badges->get($id);

Get basic information about the selected badge.

Returns Badge which contains following properties.

id

(string) The canonical identifier that can be used to identify this badge in URLs. This can be used to recognise where the same badge is returned in response to different requests, and as a mapping key for an application's local data store.

displayName

(string) A human-readable name for this badge.

description

(string) A human-readable description of what a user must do to win this badge.

imageLink

(ImageLink) A link to the image that depicts this badge to users.

isLearning

(boolean) A learning badge is given for a special achievement a user accomplishes while filling out a new account. C<true> if this is a learning badge, or C<false> if this is a normal badge.

syntax highlighting: