Namespace: badgeApi

Playbasis. badgeApi

Playbasis Badge API

Methods


<static> badgeInfo(badgeId)

Returns information about the badge with the specified badge id.

Parameters:
Name Type Description
badgeId String

badge id to get information from

Returns:

Promise object

Type
Object

<static> badgesInfo(options)

Returns information about all available badges from the current site.

Parameters:
Name Type Description
options Object

(optional) options as object.
It can include
{
tags: String = tag string which can be multiple items joined via comma
}

Returns:

Promise object

Type
Object