-
Notifications
You must be signed in to change notification settings - Fork 1
Get Players (API v3)
Valentyn Nechytailenko edited this page Jul 21, 2022
·
5 revisions
- Send REST request to the following endpoint:
GET https://api-mst.oddsmarket.org/v1/players/{playerIds}
.
Players' IDs should be taken from Odd object from websocket feed.
Example: 'https://api-mst.oddsmarket.org/v1/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 v3.
If you are using API v4 go to API v4 documentation root page.