Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

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 Data

Sample Request Body

/api/v1/competitors/{competitorid}

GET

  • Competitor ID

/api/v1/competitors/{20000023}

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

<?xml version='1.0' encoding='utf-8'?>
<competitor id="20000023" name="Los Angeles Lakers" timestamp="1687877717586">
		<player id="607346" name="Markieff"/>
		<player id="607376" name="Dion"/>
		<player id="607836" name="Dwight"/>
		<player id="607862" name="Danny"/>
		<player id="607960" name="Rajon"/>
		<player id="608028" name="LeBron"/>
		<player id="608152" name="JR"/>
		<player id="608168" name="Jared"/>
		<player id="608182" name="Kentavious"/>
		<player id="608186" name="JaVale"/>
		<player id="608216" name="Anthony"/>
		<player id="852110" name="Quinn"/>
		<player id="1142582" name="Kyle"/>
		<player id="1166582" name="Devontae"/>
		<player id="1239222" name="Alex"/>
		<player id="1493507" name="Talen"/>
		<player id="1497617" name="Kostas"/>
</competitor>

  • No labels