getAverageStats
Retrieve per-game statistical averages for all teams in the Fantasy NBA Israel League, including points, rebounds, assists, and shooting percentages, to analyze actual team performance.
Instructions
Get the average statistics (actual performance numbers) for all teams from the API.
IMPORTANT: This returns ACTUAL PERFORMANCE STATS, NOT ranking points!
- This is different from getAveragesLeagueRankings() which returns ranking points
- Use this endpoint to see actual per-game averages (e.g., 25.3 assists per game)
- Use getAveragesLeagueRankings() to see rotisserie ranking points (e.g., 12 points earned)
Args:
use_normalized: If True, returns normalized data (0-1 scale) for comparison.
If False, returns raw statistical values (e.g., 45.6% FG, 12.3 AST).
Default is False.
Returns:
A list of teams with their actual statistical averages per game.
Each item in the list is a dictionary with the following structure:
{
"team": {
"team_id": <team_id>,
"team_name": <team_name>
},
"stats": {
"FG%": <field_goal_percentage_as_decimal>,
"FT%": <free_throw_percentage_as_decimal>,
"3PM": <three_pointers_made_per_game>,
"AST": <assists_per_game>,
"REB": <rebounds_per_game>,
"STL": <steals_per_game>,
"BLK": <blocks_per_game>,
"PTS": <points_per_game>,
"GP": <games_played>
}
}
NOTES:
- Percentages are decimals (0.456 = 45.6%)
- All counting stats (3PM, AST, REB, STL, BLK, PTS) are per-game averages
- When use_normalized=True, all values are scaled 0-1 for heatmap visualization
- GP (games played) is a total count, not an average
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| use_normalized | No |