### League Widget Configuration Examples
Source: https://api-sports.io/documentation/widgets/v3
Examples for configuring the league widget with different display options and refresh intervals.
```html
// Minimal config :
// Standings enabled
// With results tab selected by default
// Refresh enabled to 20s
```
--------------------------------
### Games Widget Configuration Examples
Source: https://api-sports.io/documentation/widgets/v3
Examples for configuring the games widget, including filtering by date, league, country, and layout customization.
```html
// Minimal
// With the date parameter
// With the league parameter
// With the country parameter
// Refresh enabled to 15s
// Switch to the compact single-line game layout
// With live tab selected by default
// With no toolbar
```
--------------------------------
### Team Widget Implementation
Source: https://api-sports.io/documentation/widgets/v3
Examples for configuring the team widget with various display options and tabs.
```html
// Minimal
// With squads tab selected by default
// With team statistics enabled
// With team squads enabled
```
--------------------------------
### Configure Race Widget
Source: https://api-sports.io/documentation/widgets/v3
Examples for displaying race data with various optional tabs enabled.
```html
// Minimal
// With rankings enabled
// With fastest laps enabled
// With starting grid enabled
// With pit stops enabled
```
--------------------------------
### League Widget Configuration
Source: https://api-sports.io/documentation/widgets/v3
Configuration examples for the League widget, showing how to customize its display and data.
```APIDOC
## League Widget Configuration Examples
### Description
Examples demonstrating various configurations for the League widget, including minimal setup, enabling standings, selecting default tabs, and setting refresh intervals.
### Request Example
```html
```
```
--------------------------------
### Player Widget Implementation
Source: https://api-sports.io/documentation/widgets/v3
Examples for configuring the player widget, including statistics, trophies, and injury reporting.
```html
// Minimal
// With player statistics enabled
// With player trophies enabled
// With player injuries enabled
```
--------------------------------
### Configure MMA Fights Widget
Source: https://api-sports.io/documentation/widgets/v3
Examples for displaying lists of MMA fights with various display styles and refresh settings.
```html
// Minimal
// Switch to the compact single-line game layout
// Refresh enabled to 15s
// With live tab selected by default
// With no toolbar
```
--------------------------------
### GET /fight
Source: https://api-sports.io/documentation/widgets/v3
Fetches complete details of an MMA fight, including scores and statistics.
```APIDOC
## GET /fight
### Description
Fetches complete details of an MMA fight, including scores and statistics.
### Method
GET
### Endpoint
https://widgets.api-sports.io/3.1.0/fight
### Parameters
#### Query Parameters
- **data-type** (string) - Required - Must be set to `fight`
- **data-fight-id** (integer) - Required
- **data-fight-result** (boolean) - Optional - Default: false - Enum: true false - Enable fight result when value is `true`
- **data-statistics** (boolean) - Optional - Default: false - Enum: true false - Enable statistics when value is `true`
- **data-target-fighter** (string) - Optional - Enable and define where to display fighter details. Can be set to `modal` or a CSS selector (e.g., `#details`, `.container`)
### Request Example
```html
```
```
--------------------------------
### Game Widget Examples
Source: https://api-sports.io/documentation/widgets/v3
Use the game widget to display live game information. Configure refresh intervals, default tabs, and statistics display.
```html
```
```html
```
```html
```
```html
```
```html
```
```html
```
```html
```
--------------------------------
### Team Widget Example
Source: https://api-sports.io/documentation/widgets/v3
Display detailed team information, including venue, statistics, and squad. This widget is available for numerous sports.
```html
```
--------------------------------
### Formula 1 Races Widget Implementation
Source: https://api-sports.io/documentation/widgets/v3
Examples for configuring the F1 races widget to display specific tabs or rankings.
```html
// Minimal
// With live tab selected by default
// Rankings enabled
```
--------------------------------
### Standings Widget Example
Source: https://api-sports.io/documentation/widgets/v3
Show league standings for a specific season. Requires league and season IDs. Supports multiple sports.
```html
```
--------------------------------
### GET /driver
Source: https://api-sports.io/documentation/widgets/v3
Shows stats and information about a Formula 1 driver via a widget.
```APIDOC
## GET /driver
### Description
Shows stats and information about a Formula 1 driver via a widget.
### Method
GET
### Endpoint
https://widgets.api-sports.io/3.1.0/driver
### Parameters
#### Query Parameters
- **data-type** (string) - Required - Must be set to `driver`
- **data-driver-id** (integer) - Required
- **data-target-team** (string) - Optional - Enable and define where to display team details. Can be set to `modal` or a CSS selector (e.g., `#details`, `.container`)
### Request Example
```html
```
```
--------------------------------
### GET /fights
Source: https://api-sports.io/documentation/widgets/v3
Retrieves a list of MMA fights, with options for display style, refresh rate, and tab selection.
```APIDOC
## GET /fights
### Description
Retrieves a list of MMA fights, with options for display style, refresh rate, and tab selection.
### Method
GET
### Endpoint
https://widgets.api-sports.io/3.1.0/fights
### Parameters
#### Query Parameters
- **data-type** (string) - Required - Must be set to `fights`
- **data-games-style** (integer) - Optional - Default: 1 - Enum: 1 2 - Fights display style.
- **data-refresh** (string or integer) - Optional - ≥15 - Auto-refresh interval in seconds, or `true` to use the default value. `false` to disable automatic update.
- **data-show-toolbar** (boolean) - Optional - Default: true - Enum: true false - Show the top toolbar when value is `true`
- **data-tab** (string) - Optional - Enum: "all" "live" "finished" "scheduled" - Define the tab to select when the widget opens. By default displays the first available tab containing data.
- **data-target-fight** (string) - Optional - Enable and define where to display fight details. Can be set to `modal` or a CSS selector (e.g., `#details`, `.container`)
### Request Example
```html
```
```
--------------------------------
### Head to Head Widget Example
Source: https://api-sports.io/documentation/widgets/v3
Display historical match data between two teams using their IDs. This widget supports various sports.
```html
```
--------------------------------
### GET /team-f1
Source: https://api-sports.io/documentation/widgets/v3
Displays detailed information about a Formula 1 team using a widget.
```APIDOC
## GET /team-f1
### Description
Displays detailed information about a Formula 1 team using a widget.
### Method
GET
### Endpoint
https://widgets.api-sports.io/3.1.0/team-f1
### Parameters
#### Query Parameters
- **data-type** (string) - Required - Must be set to `team`
- **data-team-id** (integer) - Required
### Request Example
```html
```
```
--------------------------------
### GET /race
Source: https://api-sports.io/documentation/widgets/v3
Fetches race data for display in a widget. Supports various options to customize the displayed information.
```APIDOC
## GET /race
### Description
Fetches race data for display in a widget. Supports various options to customize the displayed information.
### Method
GET
### Endpoint
https://widgets.api-sports.io/3.1.0/race
### Parameters
#### Query Parameters
- **data-type** (string) - Required - Must be set to `race`
- **data-race-id** (integer) - Required
- **data-rankings** (boolean) - Optional - Default: false - Enable **rankings** tab when value is `true`
- **data-fastest-laps** (boolean) - Optional - Default: false - Enable **fastest laps** tab when value is `true`
- **data-starting-grid** (boolean) - Optional - Default: false - Enable **starting grid** tab when value is `true`
- **data-pit-stops** (boolean) - Optional - Default: false - Enable **pit stops** tab when value is `true`
- **data-target-driver** (string) - Optional - Enable and define where to display driver details. Can be set to `modal` or a CSS selector (e.g., `#details`, `.container`)
### Request Example
```html
```
```
--------------------------------
### GET /games
Source: https://api-sports.io/documentation/widgets/v3
Retrieves a list of games, optionally filtered by date, league, country, and other parameters. Supports real-time updates and customizable display options.
```APIDOC
## GET /games
### Description
Display the list of games grouped by competition according to the parameters used. The matches are automatically updated according to the selected frequency `data-refresh`.
### Method
GET
### Endpoint
`https://widgets.api-sports.io/3.1.0/games`
### Parameters
#### Query Parameters
- **data-type** (string) - Required - Must be set to `games`
- **data-date** (string) - Optional - Format: YYYY-MM-DD
- **data-league** (integer) - Optional - Filter games by league ID(s), using one or more values separated by dashes.
- **data-country** (string) - Optional - Filter games by country.
- **data-refresh** (string or integer) - Optional - ≥15 Auto-refresh interval in seconds, or `true` to use the default value. `false` to disable automatic update.
- **data-show-toolbar** (boolean) - Optional - Default: false. Enum: true, false. Show the top toolbar when value is `true`.
- **data-tab** (string) - Optional - Enum: "all", "live", "finished", "scheduled". Define the tab to select when the widget opens. By default displays the first available tab containing data.
- **data-games-style** (integer) - Optional - Default: 1. Enum: 1, 2. Defines whether games are displayed on one or two lines.
- **data-target-game** (string) - Optional - Enable and define where to display game details. Can be set to `modal` or a CSS selector (e.g., `#details`, `.container`).
- **data-target-standings** (string) - Optional - Enable and define where to display standings. Can be set to `modal` or a CSS selector (e.g., `#details`, `.container`).
### Request Example
```html
```
```
--------------------------------
### Initialize API-Sports Configuration Widget
Source: https://api-sports.io/documentation/widgets/v3
The configuration widget is required for all other widgets to function and must be included once on the page.
```html
```
```html
```
--------------------------------
### Implement Leagues Widget
Source: https://api-sports.io/documentation/widgets/v3
Displays a list of leagues grouped by country for a selected sport.
```html
```
--------------------------------
### Load Widget Script
Source: https://api-sports.io/documentation/widgets/v3
Include the required JavaScript module in your HTML to initialize the widgets.
```html
```
--------------------------------
### Configuration Widget
Source: https://api-sports.io/documentation/widgets/v3
The configuration widget is mandatory for all other widgets to function. It initializes general settings like API key, sport, and language. It should be included only once on the page.
```APIDOC
## Configuration Widget
### Description
This widget is required for all other widgets to function. It initializes general settings such as API key, sport, language, and theme. It must be present on your HTML page and included only once. Other widgets inherit these settings unless redefined locally. Any parameter not explicitly set will use its default value.
### Method
GET
### Endpoint
https://widgets.api-sports.io/3.1.0/config
### Parameters
#### Query Parameters
- **data-type** (string) - Required - Must be the value `config`.
- **data-key** (string) - Required - Your API-KEY from the dashboard.
- **data-sport** (string) - Optional - Default: "football". Enum: "afl", "baseball", "basketball", "f1", "football", "handball", "hockey", "mma", "nba", "nfl", "rugby", "volleyball". Defines the sport for the widgets. Can be set per widget to display multiple sports.
- **data-url-[sport]** (string) - Optional - Custom API URL for a given sport.
- **data-lang** (string) - Optional - Default: "en". Enum: "en", "fr", "es", "it".
- **data-custom-lang** (string) - Optional - URL of a custom translation JSON file.
- **data-theme** (string) - Optional - Default: "white". Enum: "white", "grey", "dark", "blue".
- **data-timezone** (string) - Optional - Default: "utc". Defines the Timezone used by widgets.
- **data-show-logos** (boolean) - Optional - Default: false. Enum: true, false. Show logos in widgets when true.
- **data-logo-url** (string) - Optional - Custom base URL for loading logos.
- **data-show-errors** (boolean) - Optional - Default: false. Enum: true, false. Display errors in the console when true.
- **data-favorite** (boolean) - Optional - Default: false. Enum: true, false. Enable favorites functionality when true. This feature uses cookies, so users must accept cookies.
### Request Example
```html
```
```
--------------------------------
### Configure Team Widget
Source: https://api-sports.io/documentation/widgets/v3
Basic implementation for displaying detailed information about a Formula 1 team.
```html
```
--------------------------------
### Configure Driver Widget
Source: https://api-sports.io/documentation/widgets/v3
Basic implementation for displaying statistics and information about a Formula 1 driver.
```html
```
--------------------------------
### League Widget
Source: https://api-sports.io/documentation/widgets/v3
Displays the full schedule of a competition, including today's matches, completed matches, and upcoming matches. Supports various sports like Football, Baseball, Basketball, etc.
```APIDOC
## League Widget
### Description
Displays the full schedule of a competition, divided into today's matches, completed matches, and upcoming matches. Sports covered include Football, AFL, Baseball, Basketball, Handball, Hockey, NBA, NFL, Rugby, and Volleyball.
### Method
GET
### Endpoint
https://widgets.api-sports.io/3.1.0/league
### Parameters
#### Query Parameters
- **data-type** (string) - Required - Must be set to `league`.
- **data-league** (integer) - Required - The ID of the league.
- **data-season** (string) - Optional - Define which season to display. Takes the last season by default.
- **data-tab** (string) - Optional - Enum: "today", "results", "games", "standings". Define the tab to select when the widget opens. Defaults to the first available tab with data.
- **data-standings** (boolean) - Optional - Default: false. Enum: true, false. Enable standings when true.
- **data-target-game** (string) - Optional - Enable and define where to display game details. Can be set to `modal` or a CSS selector (e.g., `#details`, `.container`).
- **data-refresh** (string or integer) - Optional - Auto-refresh interval in seconds (≥15), or `true` to use the default value. `false` to disable automatic update.
### Request Example
```html
```
```
--------------------------------
### Configure Widget Language
Source: https://api-sports.io/documentation/widgets/v3
Set the interface language using data-lang and optionally provide a custom translation file via data-custom-lang.
```html
```
--------------------------------
### Fight Widget
Source: https://api-sports.io/documentation/widgets/v3
Embeds fight data into your website. Supports basic display, fight results, and statistics.
```APIDOC
## Fight Widget
### Description
Embeds fight data into your website. Supports basic display, fight results, and statistics.
### Method
GET
### Endpoint
https://widgets.api-sports.io/3.1.0/fight
### Parameters
#### Query Parameters
- **data-type** (string) - Required - Must be set to `fight`
- **data-fight-id** (integer) - Required - The ID of the fight
- **data-fight-result** (boolean) - Optional - Set to `true` to enable fight results
- **data-statistics** (boolean) - Optional - Set to `true` to enable statistics
### Request Example
```html
```
```
--------------------------------
### Game Widget
Source: https://api-sports.io/documentation/widgets/v3
Displays detailed information for a single game. Tabs for different data types (like stats and events) may need to be enabled via parameters, except for football.
```APIDOC
## Game Widget
### Description
Display full detail of a game. Except for football, you will need to enable tabs of this widget using parameters.
### Request Example
```html
```
```
--------------------------------
### Apply Custom CSS Themes
Source: https://api-sports.io/documentation/widgets/v3
Override widget styles by defining CSS variables on the widget element and applying the theme name.
```css
api-sports-widget[data-theme="MyTheme"] {
--primary-color: #18cfc0;
--success-color: #2ecc58;
--warning-color: #f39c12;
--danger-color: #e74c3c;
--light-color: #898989;
--home-color: var(--primary-color);
--away-color: #ffc107;
--text-color: #333;
--text-color-info: #333;
--background-color: #fff;
--primary-font-size: 0.72rem;
--secondary-font-size: 0.75rem;
--button-font-size: 0.8rem;
--title-font-size: 0.9rem;
--header-text-transform: uppercase;
--button-text-transform: uppercase;
--title-text-transform: uppercase;
--border: 1px solid #95959530;
--game-height: 2.3rem;
--league-height: 2.35rem;
--score-size: 2.25rem;
--flag-size: 22px;
--teams-logo-size: 18px;
--teams-logo-size-xl: 5rem;
--hover: rgba(200, 200, 200, 0.15);
}
```
```html
```
--------------------------------
### Embed Fight Widgets
Source: https://api-sports.io/documentation/widgets/v3
Use these snippets to display fight information, results, or statistics by setting the appropriate data attributes.
```html
// Minimal
// With fight result enabled
// With statistics enabled
```
--------------------------------
### Implement Custom Translations
Source: https://api-sports.io/documentation/widgets/v3
Apply custom translations by setting data-lang to 'custom' and providing the URL to your JSON file.
```html
```
--------------------------------
### Leagues Widget
Source: https://api-sports.io/documentation/widgets/v3
Lists all leagues for the selected sport, grouped by country, with an option to favorite countries. Supports Football, Baseball, Basketball, Handball, Hockey, NFL, Rugby, and Volleyball.
```APIDOC
## Leagues Widget
### Description
Lists all leagues for the selected sport, grouped by country, with the option to favorite countries for quick access. Sports covered include Football, Baseball, Basketball, Handball, Hockey, NFL, Rugby, and Volleyball.
### Method
GET
### Endpoint
https://widgets.api-sports.io/3.1.0/leagues
### Parameters
#### Query Parameters
- **data-type** (string) - Required - Must be set to `leagues`.
- **data-target-league** (string) - Optional - Enable and define where to display league games. Can be set to `modal` or a CSS selector (e.g., `#details`, `.container`).
### Request Example
```html
```
```
--------------------------------
### Fighter Widget
Source: https://api-sports.io/documentation/widgets/v3
Displays stats and information about a specific fighter.
```APIDOC
## Fighter Widget
### Description
Displays stats and information about a specific fighter.
### Method
GET
### Endpoint
https://widgets.api-sports.io/3.1.0/fighter
### Parameters
#### Query Parameters
- **data-type** (string) - Required - Must be set to `fighter`
- **data-fighter-id** (integer) - Required - The ID of the fighter
### Request Example
```html
```
```
--------------------------------
### Target Widget Rendering
Source: https://api-sports.io/documentation/widgets/v3
Use data-target-* attributes to render widgets in specific containers or modals.
```html
```
```html
```
--------------------------------
### Embed Fighter Widget
Source: https://api-sports.io/documentation/widgets/v3
Displays statistics and information about a specific fighter using the fighter ID.
```html
```
--------------------------------
### Standings Widget API
Source: https://api-sports.io/documentation/widgets/v3
The Standings widget provides a view of league tables for a given season, including team ranks, points, and forms. It requires data-type 'standings', data-league, and data-season parameters.
```APIDOC
## GET /api/widgets/v3/standings
### Description
Displays the standings of a league for a given season, including team ranks, points and forms.
### Method
GET
### Endpoint
https://widgets.api-sports.io/3.1.0/standings
### Query Parameters
- **data-type** (string) - Required - Must be set to `standings`.
- **data-league** (integer) - Required - The ID of the league.
- **data-season** (string) - Required - Define which season to display (e.g., "2024").
- **data-target-team** (string) - Optional - Enable and define where to display team details. Can be set to `modal` or a CSS selector (e.g., `#details`, `.container`).
### Request Example
```html
```
```
--------------------------------
### Player Widget API
Source: https://api-sports.io/documentation/widgets/v3
The Player widget provides detailed information about a player, including profile, statistics, injuries, and trophies.
```APIDOC
## GET /player
### Description
Displays detailed information about a player, including personal profile, season statistics, injuries, and career trophies.
### Method
GET
### Endpoint
https://widgets.api-sports.io/3.1.0/player
### Parameters
#### Query Parameters
- **data-type** (string) - Required - Must be set to `player`
- **data-player-id** (integer) - Required
- **data-season** (string) - Required for `AFL` and `NFL` or to enable player injuries for `Football`
- **data-player-statistics** (boolean) - Optional - Default: false - Enum: true false - Enable player statistics when value is `true`
- **data-player-trophies** (boolean) - Optional - Default: false - Enum: true false - Enable player trophies when value is `true`. Works only with `Football`
- **data-player-injuries** (boolean) - Optional - Default: false - Enum: true false - Enable player injuries when value is `true` (requires the `data-season` parameter). Works only with `Football`
### Request Example
```html
```
```
--------------------------------
### Races Widget API
Source: https://api-sports.io/documentation/widgets/v3
The Races widget allows users to follow the Formula 1 season, including practice sessions, qualifying, and race details.
```APIDOC
## GET /races
### Description
List of all Formula 1 races available for the selected season.
### Method
GET
### Endpoint
https://widgets.api-sports.io/3.1.0/races
### Parameters
#### Query Parameters
- **data-type** (string) - Required - Must be set to `races`
- **data-season** (integer) - Optional - Define which season to display. Takes the last season by default.
- **data-tab** (string) - Optional - Enum: "all" "live" "finished" "scheduled" - Define the tab to select when the widget opens. By default displays the first available tab containing data.
- **data-rankings** (boolean) - Optional - Default: false - Enum: true false - Enable rankings in the widget when value is `true`
- **data-target-race** (string) - Optional - Enable and define where to display race details. Can be set to `modal` or a CSS selector (e.g., `#details`, `.container`)
### Request Example
```html
```
```
--------------------------------
### Head to Head Widget API
Source: https://api-sports.io/documentation/widgets/v3
The Head to Head widget displays historical match data between two teams. It requires the data-type to be 'h2h' and a data-h2h parameter specifying the team IDs.
```APIDOC
## GET /api/widgets/v3/h2h
### Description
Displays historical matches between two teams based on their IDs.
### Method
GET
### Endpoint
https://widgets.api-sports.io/3.1.0/h2h
### Query Parameters
- **data-type** (string) - Required - Must be set to `h2h`.
- **data-h2h** (string) - Required - Example: `data-h2h=33-34`.
- **data-target-game** (string) - Optional - Enable and define where to display game details. Can be set to `modal` or a CSS selector (e.g., `#details`, `.container`).
- **data-target-standings** (string) - Optional - Enable and define where to display standings. Can be set to `modal` or a CSS selector (e.g., `#details`, `.container`).
### Request Example
```html
```
```
--------------------------------
### Race Widget API
Source: https://api-sports.io/documentation/widgets/v3
The Race widget shows complete details of a Formula 1 race, including results, timings, and podium information.
```APIDOC
## GET /race
### Description
Show complete detail of a Formula 1 race: results, timings, and podium.
### Method
GET
### Endpoint
https://widgets.api-sports.io/3.1.0/race
### Parameters
#### Query Parameters
- **data-type** (string) - Required - Must be set to `race`
- **data-race-id** (integer) - Required
- **data-season** (integer) - Required
### Request Example
```html
```
```
--------------------------------
### Team Widget API
Source: https://api-sports.io/documentation/widgets/v3
The Team widget displays information about a specific team, including statistics, squad, and venue details.
```APIDOC
## GET /team
### Description
Displays information about a specific team.
### Method
GET
### Endpoint
https://widgets.api-sports.io/3.1.0/team
### Parameters
#### Query Parameters
- **data-type** (string) - Required - Must be set to `team`
- **data-team-id** (integer) - Required
- **data-team-tab** (string) - Optional - Enum: "statistics" "squads" "venue" - Define the tab to select when the widget opens. By default displays the first available tab containing data.
- **data-team-statistics** (boolean) - Optional - Default: false - Enum: true false - Enable team statistics when value is `true`
- **data-team-squad** (boolean) - Optional - Default: false - Enum: true false - Enable team squad when value is `true`. Works only with `Football` `Basketball` `NBA` `AFL` `NFL`
- **data-target-player** (string) - Optional - Enable and define where to display player details. Can be set to `modal` or a CSS selector (e.g., `#details`, `.container`). Works only with `Football` `NBA` `AFL` `NFL`
### Request Example
```html
```
```
--------------------------------
### Game Widget API
Source: https://api-sports.io/documentation/widgets/v3
The Game widget displays information about a specific game, including events, statistics, lineups, players, and scores. It supports various customization options for data display and refresh intervals.
```APIDOC
## GET /api/widgets/v3/game
### Description
Displays information about a specific game, supporting various data types and display options.
### Method
GET
### Endpoint
https://widgets.api-sports.io/3.1.0/game
### Query Parameters
- **data-type** (string) - Required - Must be set to `game`.
- **data-game-id** (integer) - Required - The ID of the game.
- **data-refresh** (string or integer) - Optional - Auto-refresh interval in seconds (>=15), `true` for default, or `false` to disable.
- **data-game-tab** (string) - Optional - Enum: "events", "statistics", "lineups", "players", "scores", "rosters". Defines the tab to select when the widget opens. Defaults to the first available tab with data.
- **data-team-statistics** (boolean) - Optional - Default: `false`. Enum: `true`, `false`. Enable team statistics. Works with: `Basketball`, `NBA`, `AFL`, `NFL`.
- **data-player-statistics** (boolean) - Optional - Default: `false`. Enum: `true`, `false`. Enable player statistics. Works with: `Basketball`, `AFL`, `NFL`.
- **data-events** (boolean) - Optional - Default: `false`. Enum: `true`, `false`. Enable events. Works with: `Hockey`, `AFL`, `NFL`.
- **data-quarters** (boolean) - Optional - Default: `false`. Enum: `true`, `false`. Enable quarters scores. Works with: `AFL`.
- **data-target-team** (string) - Optional - Enable and define where to display team details. Can be set to `modal` or a CSS selector (e.g., `#details`, `.container`).
- **data-target-player** (string) - Optional - Enable and define where to display player details. Can be set to `modal` or a CSS selector (e.g., `#details`, `.container`).
### Request Example
```html
```
```
--------------------------------
### Team Widget API
Source: https://api-sports.io/documentation/widgets/v3
The Team widget allows users to view comprehensive team information, including statistics, roster details, and venue data. It is designed to show detailed information about a specific team.
```APIDOC
## GET /api/widgets/v3/team
### Description
Shows detailed information about a team: venue, statistics, and squad.
### Method
GET
### Endpoint
https://widgets.api-sports.io/3.1.0/team
### Query Parameters
- **data-type** (string) - Required - Must be set to `team`.
- **data-team-id** (integer) - Required - The ID of the team.
- **data-league** (integer) - Required - The ID of the league.
- **data-season** (string) - Required - Define which season to display (e.g., "2024").
- **data-target-venue** (string) - Optional - Enable and define where to display venue details. Can be set to `modal` or a CSS selector (e.g., `#details`, `.container`).
- **data-target-statistics** (string) - Optional - Enable and define where to display statistics. Can be set to `modal` or a CSS selector (e.g., `#details`, `.container`).
- **data-target-players** (string) - Optional - Enable and define where to display player details. Can be set to `modal` or a CSS selector (e.g., `#details`, `.container`).
### Request Example
```html
```
```
--------------------------------
### Define Custom Translation JSON
Source: https://api-sports.io/documentation/widgets/v3
Provide a JSON object to override labels or translate terms within the widget interface.
```json
{
"all": "All",
"live": "Now Live",
"finished": "Completed",
"scheduled": "Coming Up",
"favorites": "Favorites",
}
```
=== COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.