@Manu85 said in Hello everyone, do you know if there is an MM module for rugby:
{
module: “MMM-Rugby”,
position: “top_right”,
disabled: false,
config: {
updateInterval: 10006060*24,
rotateInterval: 60000,
sport: “mrs”,
rankingLimit: 14,
matchesLimit: 10,
matchesOlderThan: 7,
competitions: [“Top 14”,“Six Nations”],
collectionType: “apiSport”, // api-key required
apiSports: {
apiSportStandingLeagueId: 16,
apiSportKey: “beb4f679043bxxxxxxxxxxxxxxxxxxxx”,
apiSportTZ: “Europe/Paris”,
numberofGamesToDisplay: 10,
apiSportsNumRankings: 10,
apiSportDaysPast: 7,
apiSportsDaysFuture: 14
}
}
},
The competitions are used for free
only and not for apiSports. If you want to see six nations on apiSports then you need to specify it’s leagueId in the apiSportStandingLeagueId, which is 51.
The free api does not have a Top 14 that I could find.
I will update the example configs for both in a bit.
Example Config for free
{
module: "MMM-Rugby",
position: "top_right",
disabled: false,
config: {
updateInterval: 1000*60*60*24,
rotateInterval: 60000,
sport: "mrs",
rankingLimit: 14,
matchesLimit: 10,
matchesOlderThan: 7,
competitions: ["Six Nations", "Rugby Europe Trophy 2024"],
collectionType: "free"
}
},
Example Config for apiSports:
{
module: "MMM-Rugby",
position: "top_right",
disabled: false,
config: {
updateInterval: 1000*60*60*24,
rotateInterval: 60000,
rankingLimit: 14,
matchesLimit: 10,
matchesOlderThan: 7,
collectionType: "apiSport",
apiSports: {
apiSportStandingLeagueId: 16,
apiSportKey: "beb4f679043bxxxxxxxxxxxxxxxxxxxx",
apiSportTZ: "Europe/Paris",
numberofGamesToDisplay: 10,
apiSportsNumRankings: 10,
apiSportDaysPast: 7,
apiSportsDaysFuture: 14
}
}
},