Scottish Premier League Standings Module for MagicMirror²
JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
translations
.codeclimate.yml
.editorconfig
.eslintrc
.mdlrc
.stylelintrc
.travis.yml
LICENSE
MMM-ScottishPremierLeague.css
MMM-ScottishPremierLeague.js
README.md
node_helper.js
package.json

README.md

MMM-ScottishPremierLeague GitHub license Build Status Code Climate Known Vulnerabilities

Scottish Premier League Standings Module for MagicMirror2

Example

Dependencies

Installation

  1. Clone this repo into ~/MagicMirror/modules directory.

  2. Configure your ~/MagicMirror/config/config.js:

    {
        module: 'MMM-ScottishPremierLeague',
        position: 'bottom_right',
        config: {
            api_key: 'ABC34689KLKDEGFO906SGFLSGFNM4EMP',
            ...
        }
    }
    
  3. Run command npm install --productive in ~/MagicMirror/modules/MMM-ScottishPremierLeague directory.

Config Options

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