Bungie-net / api

Resources for the Bungie.net API
Other
1.22k stars 92 forks source link

Add Steam IDs to GetBungieNetUserById and GetMembershipDataById. #1137

Open StormTester opened 5 years ago

StormTester commented 5 years ago

It would be invaluable for these endpoints to output steam IDs so that services could provide the information to users for LFG purposes, as you can't join people on steam display names.

joshhunt commented 5 years ago

It's been mentioned a few times on here before (links not handy), but Steam IDs are considered "private information", and can not be freely published by the API. This is very similar to how on Battle.net the Destiny API wouldn't publish the #4321 numbers in the battle tags.

floatingatoll commented 5 years ago

Note that Steam offers a "sign in" workflow that you can integrate into any LFG site to collect the user's SteamID and pair it to their signed-in account – you can see this in use at TRN, for example. You should use that rather than ask users to input a SteamID; for usability, for errorproofing, and to prevent malicious behavior.

vthornheart-bng commented 5 years ago

Ooh, that is slick and good to know about! Thanks for that heads up @floatingatoll!