Skip to content

Get Players (API v3)

Valentyn Nechytailenko edited this page Jul 21, 2022 · 5 revisions
  1. 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'

  1. 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
  1. Map all players you are interested in.
Clone this wiki locally