@Manu85 You can do 1000*60*30
which is update every 30 minutes which gives you 48 calls 84 calls for the day.
Read the statement by Michael Teeuw here.
Posts made by mumblebaj
-
RE: Hello everyone, do you know if there is an MM module for rugby
-
RE: Hello everyone, do you know if there is an MM module for rugby
@Manu85 said in Hello everyone, do you know if there is an MM module for rugby:
idiot
:beaming_face_with_smiling_eyes:
I have remove GF and GA and added GD. You can update the module.
-
RE: Hello everyone, do you know if there is an MM module for rugby
@Manu85 You can set the below in your
css/custom.css
which would eliminate the borders if you prefer not to see them..MMM-Rugby #MMMRugby-rankingTable td, .MMM-Rugby #MMMRugby-rankingTable th, .MMM-Rugby #rankingMatchesTable td, .MMM-Rugby #rankingMatchesTable th { border: none; }
Do you mean you would prefer to see a Goal difference and not the Goals For and Goals Against columns?
-
RE: Hello everyone, do you know if there is an MM module for rugby
@manu85340 Hi, no, the apiSports API only takes a single league as input.
-
RE: Hello everyone, do you know if there is an MM module for rugby
@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 } } },
-
RE: Hello everyone, do you know if there is an MM module for rugby
@Manu85 Check under account and then my access. You should see if you have a key. If not then create one.
If you already have one then you should see it here.
If you do not have one yet then scroll down and click subscribe next to Rugby.
-
RE: Hello everyone, do you know if there is an MM module for rugby
@Manu85 said in Hello everyone, do you know if there is an MM module for rugby:
Points
You can now do an update. Please take note of the requirements. You need to register for an API-KEY on API-SPORTS. Check the readme for new settings.
-
RE: Hello everyone, do you know if there is an MM module for rugby
@Manu85 said in Hello everyone, do you know if there is an MM module for rugby:
PLD=Joué
W = Gagné
D = nul
L = Perdu
GF = Marqués
GA = Encaissés
Pts = PointsAre there ay short codes I can use for these? The table will become too big with the full text
-
RE: Hello everyone, do you know if there is an MM module for rugby
@Manu85 I can look at adding a Translation option. The fields are as follows.
Rank
Flag
Team
Country
PLD=Played
W = Win
D = Draw
L = Lose
GF = Goals For
GA = Goals Against
Pts = PointsIf you can provide me with the French equivalent then I can add it.
Still have a bit of work to do on the Previous tables.
-
RE: Hello everyone, do you know if there is an MM module for rugby
@manu85340 Starting to look a lot better. Now to work on the match data.