GET - Player Information
This API is used to retreive data related to the player. When inserting the player id you will get related information such as the player name, reference ids and competitors. To request this API you should use the following GET API data:
Endpoint | Method | Input Data | Sample Request Body |
---|---|---|---|
/api/v1/players/{playerid} | GET |
| /api/v1/players/{25006579} |
Â
Response Attributes
NAME | DESCRIPTION |
---|---|
timestamp | The date & time of when the message was created |
player id | The ID of the player |
player name | The name of the player |
player fullname | The full name of the player |
competitor id | The ID of the competitor |
competitor name | The name of the competitor |
reference id | The mapping id for a particular FeedProvider/Bookmaker |
reference name | The name of the FeedProvider/Bookmaker mapping id |
Â
Response Examples
<?xml version='1.0' encoding='utf-8'?>
<player id="25006579" name="LeBron J." fullname="LeBron James" timestamp="1687877080730">
<competitors>
<competitor id="1394" name="Los Angeles Lakers"/>
<competitor id="2111" name="USA"/>
</competitors>
<reference_ids>
<reference id="608028" name="betradar"/>
</reference_ids>
</player>
Â