DoctorMcKay / node-steam-user

Allows interaction with the Steam network via the Steam client protocol
https://dev.doctormckay.com/forum/7-node-steam-user/
MIT License
895 stars 157 forks source link

Support for IPlayerService/GetBadges #370

Open nolddor opened 3 years ago

nolddor commented 3 years ago

Is your feature request related to a problem? Please describe.

Currently there is not way to know actual player_xp for a given steamid which is a must have feature on most level up bots out there to calculate how much sets/badges you need to reach 'your dream level'. Moreover, would be nice to also know crafted badges for a given steam so we can use this method to compare our inventory sets agaist crafted sets for a given steamid.

function getBadges(steamid) { ...

return { player_level: response.player_level, player_xp: response.player_xp, badges: response.badges };

}

Describe the solution you'd like

Created a method to mimic IPlayerService/GetBadges

Revadike commented 3 years ago

It's supported by https://github.com/DoctorMcKay/node-steam-webapi