API-SPORTS integration (Data). Imported from open-connector.
https://v3.football.api-sports.io/leagues
| Param | Type | Required | Description |
|---|---|---|---|
| id | integer | optional | League ID. |
| name | string | optional | League name. |
| country | string | optional | The name of the country to which the league belongs. |
| code | string | optional | The country code of the league. |
| season | integer | optional | Season year, represented by a four-digit number. |
| team | integer | optional | Team ID. |
| type | string | optional | League type. |
| current | boolean | optional | Whether to return only the current season league. |
| search | string | optional | League or country search keywords. |
| last | integer | optional | Number of recently added leagues. |
/teams
| Param | Type | Required | Description |
|---|---|---|---|
| id | integer | optional | Team ID. |
| name | string | optional | Team name. |
| league | integer | optional | League ID. |
| season | integer | optional | Season year, represented by a four-digit number. |
| country | string | optional | The name of the country to which the team belongs. |
| code | string | optional | Team code. |
| venue | integer | optional | Stadium ID. |
| search | string | optional | Team or country search keywords. |
/players/profiles
| Param | Type | Required | Description |
|---|---|---|---|
| player | integer | optional | Player ID. |
| search | string | optional | Player name search keyword. |
| page | integer | optional | Pagination page number, starting from 1. |
/fixtures
| Param | Type | Required | Description |
|---|---|---|---|
| id | integer | optional | Contest ID. |
| ids | array | optional | One or more contest IDs, up to 20. |
| live | string | optional | Live match filters. |
| date | string | optional | Date in YYYY-MM-DD format. |
| league | integer | optional | League ID. |
| season | integer | optional | Season year, represented by a four-digit number. |
| team | integer | optional | Team ID. |
| last | integer | optional | The number of recent games. |
| next | integer | optional | Number of games in the future. |
| from | string | optional | Date in YYYY-MM-DD format. |
| to | string | optional | Date in YYYY-MM-DD format. |
| round | string | optional | Round name. |
| status | array | optional | One or more game status short codes. |
| venue | integer | optional | Stadium ID. |
| timezone | string | optional | IANA time zone name. |
/standings
| Param | Type | Required | Description |
|---|---|---|---|
| league | integer | optional | League ID. |
| team | integer | optional | Team ID. |
| season | integer | required | Season year, represented by a four-digit number. |
/fixtures/events
| Param | Type | Required | Description |
|---|---|---|---|
| fixture | integer | required | Contest ID. |
| team | integer | optional | Team ID. |
| player | integer | optional | Player ID. |
| type | string | optional | Event or lineup filter type. |
/fixtures/lineups
| Param | Type | Required | Description |
|---|---|---|---|
| fixture | integer | required | Contest ID. |
| team | integer | optional | Team ID. |
| player | integer | optional | Player ID. |
| type | string | optional | Event or lineup filter type. |
/fixtures/statistics
| Param | Type | Required | Description |
|---|---|---|---|
| fixture | integer | required | Contest ID. |
| team | integer | optional | Team ID. |
| type | string | optional | Statistical item type. |
| half | boolean | optional | Whether to return first and second half statistics. |
/teams/statistics
| Param | Type | Required | Description |
|---|---|---|---|
| league | integer | required | League ID. |
| season | integer | required | Season year, represented by a four-digit number. |
| team | integer | required | Team ID. |
| date | string | optional | Date in YYYY-MM-DD format. |
/players/squads
| Param | Type | Required | Description |
|---|---|---|---|
| team | integer | required | Team ID. |
/players
| Param | Type | Required | Description |
|---|---|---|---|
| id | integer | optional | Player ID. |
| team | integer | optional | Team ID. |
| league | integer | optional | League ID. |
| season | integer | optional | Season year, represented by a four-digit number. |
| search | string | optional | Player name search keyword. |
| page | integer | optional | Pagination page number, starting from 1. |
/players/topscorers
| Param | Type | Required | Description |
|---|---|---|---|
| league | integer | required | League ID. |
| season | integer | required | Season year, represented by a four-digit number. |
/injuries
| Param | Type | Required | Description |
|---|---|---|---|
| league | integer | optional | League ID. |
| season | integer | optional | Season year, represented by a four-digit number. |
| fixture | integer | optional | Contest ID. |
| team | integer | optional | Team ID. |
| player | integer | optional | Player ID. |
| date | string | optional | Date in YYYY-MM-DD format. |
| ids | array | optional | One or more contest IDs, up to 20. |
| timezone | string | optional | IANA time zone name. |
/predictions
| Param | Type | Required | Description |
|---|---|---|---|
| fixture | integer | required | Contest ID. |