Maple Leafs’ Ekman-Larsson out vs. Kings

3 weeks ago 2

Rommie Analytics

The Toronto Maple Leafs will be without Oliver Ekman-Larsson for Hockey Night in Canada against the Los Angeles Kings (7 p.m. ET / 4 p.m. PT).

Ekman-Larsson was ruled out for the game with a lower-body injury, according to Sportsnet’s Luke Fox.

The blue-liner entered the day doubtful to play after exiting Thursday’s loss to the San Jose Sharks early. The Maple Leafs were officially eliminated from playoff contention in the defeat.

Ekman-Larsson has eight goals and 30 assists in 73 games this season. He’s missed just three games all season, and none were due to injury.

Earlier Saturday, Toronto recalled defenceman William Villeneuve on an emergency basis.

if (!res.ok) { throw new Error('Failed to fetch odds data'); }

const data = await res.json(); const oddsData = data?.data?.game?.details?.current_line; const visitingTeam = data?.data?.game?.visiting_team; const visitingTeamLogo = data?.data?.game?.visiting_team?.image_url_90; const homeTeam = data?.data?.game?.home_team; const homeTeamLogo = data?.data?.game?.home_team?.image_url_90; const gameTimestamp = data?.data?.game?.details?.timestamp;

return { oddsData, visitingTeam, visitingTeamLogo, homeTeam, homeTeamLogo, gameTimestamp }; }

async function renderBetMGM(componentId, league, gameId) { let oddsData, visitingTeam, visitingTeamLogo, homeTeam, homeTeamLogo, gameTimestamp, error;

const container = document.getElementById(componentId + '-odds'); if (!container) return;

try { ({ oddsData, visitingTeam, visitingTeamLogo, homeTeam, homeTeamLogo, gameTimestamp } = await fetchOddsData(league, gameId)); } catch (err) { error = err.message; }

if (error) { container.innerHTML = `

Error: ${error}

`; return; }

if (!oddsData) { container.innerHTML = `

Odds data not available

`; return; }

let gameDate = new Date(gameTimestamp * 1000); const gameDateFormatted = gameDate.toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' });

container.innerHTML = `

BetMGM Odds
Moneyline
${visitingTeam.short_name}
${oddsData.away_money > 0 ? `+${oddsData.away_money}` : oddsData.away_money}
${homeTeam.short_name}
${oddsData.home_money > 0 ? `+${oddsData.home_money}` : oddsData.home_money}
Spread
${oddsData.fav_id === visitingTeam.id ? oddsData.fav_points : oddsData.fav_points > 0 ? `-${oddsData.fav_points}` : `+${Math.abs(oddsData.fav_points)}`}
${oddsData.fav_id === visitingTeam.id ? oddsData.fav_money > 0 ? `+${oddsData.fav_money}` : oddsData.fav_money : oddsData.underdog_money > 0 ? `+${oddsData.underdog_money}` : oddsData.underdog_money}
${oddsData.fav_id === homeTeam.id ? oddsData.fav_points : oddsData.fav_points > 0 ? `-${oddsData.fav_points}` : `+${Math.abs(oddsData.fav_points)}`}
${oddsData.fav_id === homeTeam.id ? oddsData.fav_money > 0 ? `+${oddsData.fav_money}` : oddsData.fav_money : oddsData.underdog_money > 0 ? `+${oddsData.underdog_money}` : oddsData.underdog_money}
Over/Under
O ${oddsData.total}
${oddsData.over_money > 0 ? `+${oddsData.over_money}` : oddsData.over_money}
U ${oddsData.total}
${oddsData.under_money > 0 ? `+${oddsData.under_money}` : oddsData.under_money}

`; }

// Example usage renderBetMGM('block_628a81f5c374c86fc4d9f373f879bcbf', 'NHL', 'c7971e66-92ec-4eea-9e73-41b2f8d31a1e');

Read Entire Article