GET /api/getplayerid

Returns the PUBG account id for a single gamertag.

Authentication

This endpoint requires HTTP Basic Auth using your PubgClans login credentials.

Parameters

Example

GET /api/getplayerid?gamertag=SomeName
GET /api/getplayerid?gamertag=SomeName&platform=psn

Response

{
  "player": {
    "player_id": "account.xxxxx",
    "player_name": "SomeName",
    "platform": "xbox"
  }
}

cURL

curl -u "USERNAME:PASSWORD" "https://www.pubgclans.net/api/getplayerid?gamertag=SomeName"
curl -u "USERNAME:PASSWORD" "https://www.pubgclans.net/api/getplayerid?gamertag=SomeName&platform=psn"
Test it (expand)
No request yet.