Retrieve User UID from BattleTag?

API Discussion
Hi guys, I really love the new Developer Portal + API + Documentation, works great!

Are there plans for any endpoint to retrieve a Users UID from the BattleTag (instead of needing to use OAuth to get the UID)?

Why would you need this? for using the SC2 endpoints like /sc2/player/:uid I do not need to use a user-related token (it is fine to just use the OAuth client credentials flow with my API credentials). But I still need the Users UID just one time to be able to do the call (as otherwise I do not know :uid), still it feels a bit overdone to do a OAuth here just to get the UID once.

Thus, just asking the user for his BattleTag and than using an endpoint to retrieve the UID based on the BattleTag, would be great!


Join the Conversation

Return to Forum