badgesAwardedDatesForUser
Gets timestamp for when multiple badges were awarded to a user.
Parameters
| Name | Type | Description |
|---|---|---|
| badgeIds | ArrayNonEmptyIfConst | The IDs of the badges to get award dates from. |
| userId | Identifier | The ID of thw user to get award date for. |
Example
const { data: awardDates } = await ClassicBadgesApi.badgesAwardedDatesForUser({
badgeIds: [2124533401],
userId: 45348281,
}); Example Data
{ "2124533401": 2020-11-15T18:51:30.604Z } Endpoint
GET /v1/users/{userId}/badges/awarded-dates