Read the statement by Michael Teeuw here.
-
@mumblebaj Hello when I go to the API-SPORTS site I have a page where I have a link for api rugby but when I click on the link the page returns me an error code, perhaps I am not in the right place , I need your help please, below is the link to the api-sports page and this from api rugby
https://api-sports.io/
API-SPORTS: https://v1.rugby.api-sports.io/ -
@mumblebaj sorry I didn’t see that in the readme there was a link… I registered and when I am on the page I have several api sports when I click on api-rugby nothing happens
-
@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.
-
@mumblebaj ok, thank you very much, I got there, I have a few questions to ask you I will do that tomorrow because it must be dark at your place too!
-
@mumblebaj Hello, I hope you are well my first question is the following I cannot get the “Six Nations” I first thought that on your example in the readme there was “Six Nations 2024” and in the leage_data.json was “Six Nations” but it didn’t work then I saw the line:
apiSportStandingLeagueId: 16 ```, was on 16 (top 14) I tried to delete this line but the mirror does not start I tried to put "0" at the end but that does not work either I changed the line: sport: "mru", by sport: "mrs", but it's the same I'm trying to follow my config.js if you could tell me where the problem is please?
{ 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: ["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 } } },
-
@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 } } },
-
@mumblebaj do you think that in apisports I can put the top 14 and six nations so that they are displayed in the module?
-
@manu85340 Hi, no, the apiSports API only takes a single league as input.
-
@mumblebaj shit ! Do you think it is possible to remove the lines of rows and columns that look like an Ecxel table? and I think it would be preferable to make a single column of the difference of the points scored and conceded to have the goal-average: GA-GF, it would be clearer to read and it would take up less space, thank you, I think your module is going to be a real success
-
@mumblebaj Hi ! it could look like this without column “B” which indicates the offensive and defensive bonuses