MMM-Biathlon is a MagicMirror module that retrieves and displays biathlon race results and upcoming events. It relies on the official biathlon API to provide up-to-date information.
- Displays biathlon race results, including rankings, times, and shooting accuracy.
- Shows upcoming events with details on location and dates.
- French
- Spanish
- Italian
- Norwegian
- German
- Chinese
- Number of displayed entries
- Transition interval
- Event types
- Automatic updates of results and event information at predefined intervals.
With MMM-Biathlon, biathlon enthusiasts can follow the latest competition results and stay updated on their favorite athletes' performances directly on their MagicMirror!
In your terminal, go to your [MagicMirror²][mm] Module folder and clone MMM-Biathlon:
cd ~/MagicMirror/modules
git clone https://github.com/2hdlockness/MMM-Biathlon
To use this module, add it to the modules array in the config/config.js
file:
{
module: "MMM-Biathlon",
position: "top_left",
header: "Biathlon Results",
config: {
}
},
Or you could use all the options:
{
module: "MMM-Biathlon",
position: "top_left",
header: "Biathlon Results",
config: {
showNextEvent: true,
showtime: true,
showshoot: true,
maximumEntries: 5,
transitionInterval: 20 * 1000,
updateInterval: 60 * 60 * 1000,
EventClassificationId: ["BTSWRLCP","BTSWRLCH"]
}
},
Option | Possible values | Default | Description |
---|---|---|---|
showNextEvent |
true false |
true | Show or hide upcoming events |
showtime |
true false |
true | Show or hide total time |
showshoot |
true false |
true | Show or hide shooting results |
maximumEntries |
number |
5 | Number of entries to display |
transitionInterval |
number |
20 * 1000 | Transition interval between events (in ms) default 20s |
updateInterval |
number |
60 * 60 * 1000 | Data update interval (in ms) default 1h |
EventClassificationId |
SBSWRLCH BTSIBUCP BTSWRLCP BTJIBUCP BTSWRLUG BTJCEUCH BTSCEUCH BTJCEUOF BTSWRLCH BTJWRLCH |
["BTSWRLCP","BTSWRLCH"] | List of competitions. See below for competition details. |
Competition details | Description |
---|---|
BTSWRLCP |
BMW IBU World Cup Biathlon |
BTSWRLCH |
BMW IBU World Championships Biathlon |
BTJCEUCH |
IBU Junior Open European Championships |
BTJIBUCP |
IBU Junior Cup Biathlon |
BTJWRLCH |
IBU Youth/Junior World Championships |
BTSCEUCH |
IBU Open European Championships Biathlon |
BTSIBUCP |
IBU Cup Biathlon |
SBSWRLCH |
IBU Summer Biathlon World Championships |
BTSWRLUG |
FISU World University Games |
BTJCEUOF |
European Youth Winter Olympic Festival |
cd ~/MagicMirror/modules/MMM-Biathlon
git pull
If you like this module and feel generous!
Thank you!
- Authors:
@2hdlockness - License: MIT