-
Notifications
You must be signed in to change notification settings - Fork 1
Get Players (API v4)
Ihor Komar edited this page Aug 10, 2022
·
2 revisions
- Send REST request to the following endpoint:
GET https://api-mst.oddsmarket.org/v4/players/{playerIds}
.
Players' IDs should be taken from Outcome object from websocket feed.
Example: 'https://api-mst.oddsmarket.org/v4/players/2782231,2779116'
- In the response you will get an array of requested players:
{
"response": [
{
"sportId": "31",
"name": "Dahlmeier, Laura",
"id": "2782231"
}
]
}
Name | Description | Type | Example |
---|---|---|---|
sportId | ID of a sport in our system | SHORT | 31 |
name | Name of a player | VARCHAR | Dahlmeier, Laura |
id | Id of a player | BIGINT | 2782231 |
- Map all players you are interested in.
This section describes API v4.
If you are using API v3 go to API v3 documentation root page.