Returns a list of all badges.
gameId
title
isSteamGame
isLegacy
legacy
isEnabled
enabled
points
const badgesAll: Badge[] = await sdk.getBadgesList({ });const badgePointsAsc: Badge[] = await sdk.getBadgesList({ sort: { points: 'asc' }});const badgesSteamGames: Badge[] = await sdk.getBadgesList({ filter: { isSteamGame: true }});
Generated using TypeDoc
Returns a list of all badges.
Filter options
gameId
- filters by ID of the Steam game the badge belongs to,title
- filters by title of the non-Steam game the badge belongs to,isSteamGame
- filters by game being on Steam or not,isLegacy
- filters by badge'slegacy
status,isEnabled
- filters by badge'senabled
status.Sort options
points
- sorts by badge's point value.Usage