Skip to content

MagicMirror Module for displaying field hockey french rankings

Notifications You must be signed in to change notification settings

mmourcia/MMM-FieldHockey-FFH

Repository files navigation

MMM-FieldHockey-FFH

This is a module for the MagicMirror

In France, there is a field hockey championship. Match results, scores, and top scorers are provided on the FFH website. This module offers to display the teams' rankings.

MMM-Fieldhockey-FFH1

Install

cd MagicMirror/modules
git clone https://github.com/mmourcia/MMM-FieldHockey-FFH.git
cd MMM-FieldHockey-FFH
npm i

Config

{
    module: "MMM-FieldHockey-FFH",
    position: "bottom_right",
    config: {
        updateInterval: 3600000, // 1 hour
        rotationInterval: 20000, // 10 seconds
        poules: [
            {
                SaisonAnnee: 2024,
                PouleId: 10483,,
                PouleTitle: "Elite Hommes",
                PouleLogo: "./modules/MMM-FieldHockey-FFH/resources/elite-hommes.png"
            },
            {
                SaisonAnnee: 2024,
                PouleId: 9893,
                PouleTitle: "U16 WHC",
                PouleLogo: "./modules/MMM-FieldHockey-FFH/resources/u16-whc.png"
            }
        ],
        apiUrl: "https://championnats.ffhockey.org/rest2/Championnats/ClassementEquipes"
    }
}

Getting "PouleId"

To get the PouleId you would like to display informations about :

MMM-Fieldhockey-FFH2

About

MagicMirror Module for displaying field hockey french rankings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published