Scottish Premier League Standings Module for MagicMirror2
- An installation of MagicMirror2
- npm
- request
- xml2js
-
Clone this repo into
~/MagicMirror/modules
directory. -
Configure your
~/MagicMirror/config/config.js
:{ module: 'MMM-ScottishPremierLeague', position: 'bottom_right', config: { api_key: 'ABC34689KLKDEGFO906SGFLSGFNM4EMP', ... } }
-
Run command
npm install --productive
in~/MagicMirror/modules/MMM-ScottishPremierLeague
directory.
Option | Default | Description |
---|---|---|
api_key |
REQUIRED | Get a free api key for the Scottish Premier League here. |
season |
'1617' |
Which season should be displayed. |
focus_on |
false |
Which team should the standings focus on e.g. "Rangers", "TOP" or "BOTTOM". Omit this option or set to false to show the full league table. |
max_teams |
false |
How many teams should be displayed. Omit this option or set to false to show the full league table. |
updateInterval |
10800000 (3 hours) |
How often should the data be fetched |