项目作者: fewieden

项目描述 :
Scottish Premier League Standings Module for MagicMirror²
高级语言: JavaScript
项目地址: git://github.com/fewieden/MMM-ScottishPremierLeague.git
创建时间: 2016-09-05T16:37:18Z
项目社区:https://github.com/fewieden/MMM-ScottishPremierLeague

开源协议:MIT License

下载


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:

    1. {
    2. module: 'MMM-ScottishPremierLeague',
    3. position: 'bottom_right',
    4. config: {
    5. api_key: 'ABC34689KLKDEGFO906SGFLSGFNM4EMP',
    6. ...
    7. }
    8. }
  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