Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This API is used to retreive data related to the competitor. When inserting the competitor id you will get related information such as the competitor name and the player list (if any). To request this API you should use the following GET API data:

Endpoint

Method

Input URL

Sample Request Body

/api/v1/competitors/{productid}/{eventid}

GET

  • Competitor ID

  • Product ID

/api/v1/competitors/4/{131718}

Response Attributes

NAME

DESCRIPTION

timestamp

The date & time of when the message was created

competitor id

The ID of the competitor

competitor name

The name of the competitor

player id

The ID of the player

player name

The name of the player

Response Examples

Code Block
<?xml version='1.0' encoding='utf-8'?>
<competitor id="20000023" name="Los Angeles Lakers" timestamp="1687877717586">
	<players>
		<player id="607346" name="Markieff" surname="Morris"/>
		<player id="607376" name="Dion" surname="Waiters"/>
		<player id="607836" name="Dwight" surname="Howard"/>
		<player id="607862" name="Danny" surname="Green"/>
		<player id="607960" name="Rajon" surname="Rondo"/>
		<player id="608028" name="LeBron" surname="James"/>
		<player id="608152" name="JR" surname="Smith"/>
		<player id="608168" name="Jared" surname="Dudley"/>
		<player id="608182" name="Kentavious" surname="Caldwell-Pope"/>
		<player id="608186" name="JaVale" surname="McGee"/>
		<player id="608216" name="Anthony" surname="Davis"/>
		<player id="852110" name="Quinn" surname="Cook"/>
		<player id="1142582" name="Kyle" surname="Kuzma"/>
		<player id="1166582" name="Devontae" surname="Cacok"/>
		<player id="1239222" name="Alex" surname="Caruso"/>
		<player id="1493507" name="Talen" surname="Horton-Tucker"/>
		<player id="1497617" name="Kostas" surname="Antetokounmpo"/>
	</players>
</competitor>