Skip to content
This repository was archived by the owner on May 9, 2020. It is now read-only.

Latest commit

 

History

History
42 lines (31 loc) · 2.06 KB

README.md

File metadata and controls

42 lines (31 loc) · 2.06 KB

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