Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getPlayer by username #23

Open
realmfan opened this issue Jun 23, 2018 · 5 comments
Open

getPlayer by username #23

realmfan opened this issue Jun 23, 2018 · 5 comments

Comments

@realmfan
Copy link

realmfan commented Jun 23, 2018

getPlayer [{playerId}|{steamId}]/[{"hirez"}|{"steam"}]
here playerId / steamId is the number or the username

{
    "name": "RealmHero",
    "id": 123,
    "created_datetime": "3\/18\/2018 5:14:27 PM",
    "last_login_datetime": "6\/12\/2018 7:51:11 PM",      
    "level": 22,
    "steam_id": 76561198199559770,
    "region": "Europe"
}

from returned data it looks like a number

so does it mean we can't query by username ?

@apugh
Copy link
Owner

apugh commented Jun 24, 2018

Hi-Rez playerName has to be supported. I updated the endpoint documentation.

@rale
Copy link

rale commented Jun 24, 2018

Since names aren't unique, does that mean getPlayer can return multiple results?

@apugh
Copy link
Owner

apugh commented Jun 25, 2018

Player names are unique on PC (and thus OK for Realm for the moment).

Paladins Xbox, and potentially Realm Xbox in the future is where there is concern and where I'll need to come up with a solution.

@rale
Copy link

rale commented Jun 25, 2018

Your name shows up in-game as your steam profile name, which isn't unique and can be changed at any time. Is Hi-Rez player name something else?

@apugh
Copy link
Owner

apugh commented Jun 25, 2018

Yes, Hi-Rez player name is something else.

Every player of a Hi-Rez game on a particular platform (xbox, pc, ps4, switch) has a unique player record (unique by "player_id") for that game/platform combination.

How this maps to more descriptive player_names values is what is becoming more confusing and is starting to differ based on game and platform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants