European Soccer Standings Module for MagicMirror²
~/MagicMirror/modules
directory.~/MagicMirror/config/config.js
:{
module: 'MMM-soccer',
position: 'bottom_right',
config: {
// add your config options here
}
}
npm i --production
in ~/MagicMirror/modules/MMM-soccer
directory.Option | Default | Description |
---|---|---|
api_key |
false | Either false (limited to 50 requests a day) or an API Key obtained from http://api.football-data.org/register (limited to 50 requests a minute) . |
colored |
false | Boolean to show club logos in color or not. |
show |
'GERMANY' | Which league should be displayed 'GERMANY', 'FRANCE', 'ENGLAND', 'SPAIN' or 'ITALY' |
focus_on |
false | Which team should the standings focus on per league e.g. {"GERMANY": "FC Bayern München", "FRANCE": "Olympique Lyonnais"}. 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. |
leagues |
{"GERMANY": "BL1", "FRANCE": "FL1", "ENGLAND": "PL", "SPAIN": "PD", "ITALY": "SA"} |
A collection of leagues obtained from http://api.football-data.org/v2/competitions |
logos |
false |
Boolean to show club logos or not. |
This module supports voice control by MMM-voice and MMM-Modal. In order to use this feature, it's required to install the voice and modal modules. There are no extra config options for voice control and modals needed.
The voice control mode for this module is SOCCER
npm run lint
- Lints JS and CSS files.npm run docs
- Generates documentation.