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 62
Next »
Method parameters
| | |
---|
sport_id | xsd:int | REQUIRED. The requested sport identifier |
Query parameters
| | |
---|
token | xsd:string | REQUIRED. More information concerning authorization in API introduction section |
lang | xsd:string | Determines language for the output data |
Method calling examples
Output elements
|
---|
id | Unique identifier for the sport | ls_id | For internal purposes | name | Name of the sport | url | Name which is used in url address in API | active | Sport status which means if the sport is supported or not supported in API. Possible values: - yes - sport is supported
- no - sport will be supported in the near future
| has_timer | Defines if sport use timer. Possible values: | participant_quantity | Show information about events participants quantity in sport. Possible values: | template | Internal attribute. Possible values: | incidents_positions | Defines if sport uses incidents positions. Possible values: | ut | Information about the date and time of when the record was last updated. Format UNIX_TIMESTAMP |
|
|
---|
|
---|
id | Unique identifier for the status | name | Name of the status | short_name | Abbreviated name of the status. Max 10 characters | type | Type of the status. Possible values: - live
- scheduled
- finished
- cancelled
- interrupted
- deleted
- other
| ut | Information about the date and time of when the record was last updated. Format UNIX_TIMESTAMP |
|
|
---|
|
---|
id | Unique identifier for the result | short_name | Abbreviated name of the result. | name | Name of the result available in all events for the selected sport | code | Attribute for internal purpose | type | Defines type of the result. Possible values: - team,
- person,
- team_and_person
| data_type | Defines type of field generated on front (internal purpose only) - integer
- decimal
- binary_text
- binary
- text
- signed_integer
|
|
|
---|
|
---|
|
---|
id | Unique identifier for the stat | short_name | Abbreviated name of the statistic. | name | Name of the stats available for teams in the selected sport | code | Attribute for internal purpose | data_type | Defines type of field generated on front (internal purpose only) - integer
- decimal
- binary_text
- binary
- text
- signed_integer
|
|
|
---|
|
---|
id | Unique identifier for the stat |
short_name | Abbreviated name of the statistic. |
name | Name of the stats available for individuals in the selected sport |
code | Attribute for internal purpose |
data_type | Defines type of field generated on front (internal purpose only) - integer
- decimal
- binary_text
- binary
- text
- signed_integer
|
|
---|
|
---|
id | Unique identifier for the detail | name | Name of the detail available in all events for the selected sport | code | Attribute for internal purpose | data_type | Defines type of field generated on front (internal purpose only) - integer
- decimal
- binary_text
- binary
- text
- signed_integer
| is_season_detail | For internal purposes | description | Description note of detail | input | Input name e.g. select/input etc | type | Type attribute of input | related_statuses | Statuses related to detail | format | Input format e.g. for date: "Y-m-d H:i:s" | nullable | Determines if input can be sended with null value | default | Determines default value |
|
sport > details > detail > possible_values |
---|
sport > details > detail > possible_values > possible_value |
---|
key | Label of value | value | Possible value |
|
|
---|
|
---|
id | Unique identifier for the incident | name | Name of the incident available in all events for the selected sport | important | Determines if the incident is important e.g. goals, cards, substitutions. Possible values: | important_for_trader | Determines if incident is important for traders. Possible values: - yes - incident is important for trader
- no - incident isn't important for trader
| sport_id | Unique identifier for the sport in which a event is played. The complete list of possible sports can be retrieved using the API resource: sports.index | type | Type of incident. Possible values: | group | A group which incident belongs to. | ut | Information about the date and time of when the record was last updated. Format UNIX_TIMESTAMP | code | Attribute for internal purpose | for | Determine what the participant includes incident | game_break | Attribute for internal purpose |
|
sport > incidents > incident |
sport > incidents > incident > attributes |
ids | Unique identifier for the attribute | name | Name of the attribute | short_name | Short name of the attribute | sort_order |
|
|
|
---|
|
---|
id | Unique identifier for the standings type | name | Name of the standing type | ut | Information about the date and time of when the record was last updated. Format UNIX_TIMESTAMP |
|
|
---|
|
---|
id | Unique identifier for the column | name | Name of the column | short_name | Abbreviated name of the column | code | Attribute for an internal purpose |
|
sport > venues_details |
---|
sport > venues_details > detail |
---|
id | Unique identifier for the venue detail | name | Name of the venue detail | description | Description of the venue detail |
|
sport > formations |
|
---|
List of formations used in the events (available only for the Soccer) |