Skip to content
MagicMirror module to get ESPN standings for the major US sports
JavaScript HTML CSS
Branch: master
Clone or download
Latest commit 58ecd30 Aug 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
logos adding NCAAF Aug 9, 2019
MMM-MyStandings.css option to show by one division at a time Apr 14, 2019
MMM-MyStandings.js adding NCAAF Aug 9, 2019
README.md adding NCAAF Aug 9, 2019
node_helper.js config to show hide logos Apr 8, 2019
screenshot1.JPG Add files via upload Apr 5, 2019
standings.njk adding NCAAF Aug 9, 2019

README.md

MMM-MyStandings

MagicMirror module to get ESPN standings for the major US sports

MMM-MyStandings

MagicMirror module to get ESPN standings for the major US sports. I was inspired by MMM-MyScoreboard and figured that this will compliment it nicely. The module will rotate through different sports. If you only want to show one sport or one division, the module will just display one without rotating.

API

Uses the ESPN API for sports standings

Preview

screenshot1

Installing the module

Go to your MagicMirror modules directory by entering cd MagicMirror/modules

run git clone https://github.com/vincep5/MMM-MyStandings

Config

Add MMM-MyStandings module to the modules array in the config/config.js file:

modules: [
  {
		module: "MMM-MyStandings",
		position: "top_right",
		config: {
			updateInterval: 60 * 60 * 1000, // every 60 minutes
			rotateInterval: 1 * 60 * 1000, // every 1 minute
			sports: [
				{ league: "NBA", groups: ["Atlantic", "Central", "Southeast", "Northwest", "Pacific", "Southwest"] },
				{ league: "MLB", groups: ["American League East", "American League Central", "American League West", "National League East", "National League Central", "National League West"] },
				{ league: "NFL", groups: ["AFC East", "AFC North", "AFC South", "AFC West", "NFC East", "NFC North", "NFC South", "NFC West"] },
				{ league: "NHL", groups: ["Atlantic Division", "Metropolitan Division", "Central Division", "Pacific Division"] },
				{ league: "MLS", groups: ["Eastern Conference", "Western Conference"] },
				{ league: "NCAAF", groups: ["American Athletic - East", "American Athletic - West", "Atlantic Coast Conference - Atlantic", "Atlantic Coast Conference - Coastal",
										"Big 12 Conference", "Big Ten - East", "Big Ten - West", "Conference USA - East", "Conference USA - West",
										"FBS Independents", "Mid-American - East", "Mid-American - West", "Mountain West - Mountain", "Mountain West - West",
										"Pac 12 - North", "Pac 12 - South", "SEC - East", "SEC - West", "Sun Belt - East", "Sun Belt - West"] }
			],
			nameStyle: "short",
			showLogos: true,
			useLocalLogos: true,
			showByDivision: true,
			fadeSpeed: 2000,
		}
  }
]
Option Description
updateInterval 60 * 60 * 1000 // every 60 minutes
Time in milliseconds to update data from ESPN
rotateInterval 1 * 60 * 1000 // every 1 minute
Time in milliseconds to rotate through the leagues or divisions
nameStyle "abbreviation", "full", or "short"
Display abbreviation, full name, or short name for the team
showLogos true or false
Display logos (true) or not (false)
useLocalLogos true or false
Display logos from folder (true) or display logos from the ESPN url (false)
Most of the logos are the same from MMM-MyScoreboard
showByDivision true or false
Show the standings by division (true) or everything at once (false)
fadeSpeed 2000
Time in milliseconds to display the module

Alternate ways of showing sports:

		sports: [
			{ league: "NFL" },
			{ league: "NHL", groups: ["Central Division"] }
		]

This will rotate ALL NFL and only NHL's Central Division

You can’t perform that action at this time.