<season>

What does 'season' specify?

This element provides details about a given season, including its ID, name, start and end dates, and the tournament it is part of. Each season represents an yearly/periodic edition of a recurring competition, such as the NBA 19/20, MLB 2020, or the European Championship 2021.

Example XML Response Snippets

Here is an example of the season element

<season id="sr:season:68176" name="Nba 19/20" start_date="2019-10-22" end_date="2020-10-13" year="19/20" tournament_id="sr:tournament:132"/>

Element Attributes

The table below shows the list and meaning of attributes in the season element

Attribute

Meaning

Possible values

id

Unique id of the season

String value,

Example: "id="sr:season:72821"

name

Name of the season

String value,

Example: name="European Championship 2021"

start_date

Start date of the season

Date value,

Example: start_date="2021-06-11"

end_date

End date of the season

Date value,

Example: end_date="2021-07-12"

year

Year of the season

Numeric value,

Example: year="2021"

tournament_id

Unique identifier of the highest level tournament which the season belongs in.

String value,

Example: tournament_id="sr:tournament:132

Last updated

Was this helpful?