The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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) 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.