MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Hello everyone, do you know if there is an MM module for rugby

    Scheduled Pinned Locked Moved Requests
    105 Posts 5 Posters 152.6k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      Manu85 @mumblebaj
      last edited by

      @mumblebaj you are the best !!!
      If you want you can delete the country comnne and can the column headers be “changeable” in French?
      Pld = MJ / W=V / D=N / L=D /
      GF= I think points marked? if that’s it then if possible PM
      GA= I think not cashed? if that’s it then if possible PE
      and for pts no problem
      This is only if it is possible, if it is configurable this would give a possibility of configuration for the countries where your module is installed.
      But you are on top, BRAVO

      mumblebajM 1 Reply Last reply Reply Quote 0
      • mumblebajM Offline
        mumblebaj Module Developer @Manu85
        last edited by

        @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 = Points

        If 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.

        Check out my modules at: https://github.com/mumblebaj?tab=repositories
        Check my blog-post: https://mumblebaj.xyz/
        Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          Manu85 @mumblebaj
          last edited by

          @mumblebaj Yes!!! Below is the French translation if you want the diminutives so that it takes up less space, tell me

          Rank = Classement
          Flag = écusson
          Team = équipe
          Country= pays
          PLD=Joué
          W = Gagné
          D = nul
          L = Perdu
          GF = Marqués
          GA = Encaissés
          Pts = Points

          mumblebajM 2 Replies Last reply Reply Quote 0
          • mumblebajM Offline
            mumblebaj Module Developer @Manu85
            last edited by

            @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 = Points

            Are there ay short codes I can use for these? The table will become too big with the full text

            Check out my modules at: https://github.com/mumblebaj?tab=repositories
            Check my blog-post: https://mumblebaj.xyz/
            Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

            M M 3 Replies Last reply Reply Quote 0
            • M Offline
              Manu85 @mumblebaj
              last edited by

              @mumblebaj ok, you can put the following things:

              PLD=J
              W = G
              D = N
              L = P
              GF = MA (if it possible Otherwise M)
              GA = EN (if it possible Otherwise E)
              Pts = Pts

              1 Reply Last reply Reply Quote 0
              • M Offline
                Manu85 @mumblebaj
                last edited by

                @mumblebaj you can even save a column (if you want) by making a single column of the difference of the points scored and conceded to have the goal-average: GA-GF and this column in French would be called “DIF” :-)

                1 Reply Last reply Reply Quote 0
                • M Offline
                  manu85340 @mumblebaj
                  last edited by

                  @mumblebaj and for the top 14 there are 14 teams, so it would be great to have all 14, thank you again for your work

                  1 Reply Last reply Reply Quote 0
                  • mumblebajM Offline
                    mumblebaj Module Developer @Manu85
                    last edited by

                    @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.

                    Check out my modules at: https://github.com/mumblebaj?tab=repositories
                    Check my blog-post: https://mumblebaj.xyz/
                    Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                    M 3 Replies Last reply Reply Quote 0
                    • M Offline
                      Manu85 @mumblebaj
                      last edited by

                      @mumblebaj ok, I will try this as soon as I get home, I will let you know, thanks again

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        Manu85 @mumblebaj
                        last edited by

                        @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/

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          Manu85 @mumblebaj
                          last edited by

                          @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

                          mumblebajM 1 Reply Last reply Reply Quote 0
                          • mumblebajM Offline
                            mumblebaj Module Developer @Manu85
                            last edited by

                            @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.
                            6157530e-4b11-4a43-8a63-63c52a7e4a86-image.png

                            If you do not have one yet then scroll down and click subscribe next to Rugby.
                            ba147d4f-afa9-43f5-a9ac-c5d2a68e50ba-image.png

                            Check out my modules at: https://github.com/mumblebaj?tab=repositories
                            Check my blog-post: https://mumblebaj.xyz/
                            Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                            M 2 Replies Last reply Reply Quote 0
                            • M Offline
                              Manu85 @mumblebaj
                              last edited by

                              @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!

                              1 Reply Last reply Reply Quote 1
                              • M Offline
                                Manu85 @mumblebaj
                                last edited by

                                @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
                                                        }
                                                }
                                    		},
                                
                                mumblebajM 1 Reply Last reply Reply Quote 0
                                • mumblebajM Offline
                                  mumblebaj Module Developer @Manu85
                                  last edited by mumblebaj

                                  @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
                                                          }
                                                  }
                                    },
                                  

                                  Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                  Check my blog-post: https://mumblebaj.xyz/
                                  Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                                  M 1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    manu85340 @mumblebaj
                                    last edited by

                                    @mumblebaj do you think that in apisports I can put the top 14 and six nations so that they are displayed in the module?

                                    mumblebajM 1 Reply Last reply Reply Quote 0
                                    • mumblebajM Offline
                                      mumblebaj Module Developer @manu85340
                                      last edited by

                                      @manu85340 Hi, no, the apiSports API only takes a single league as input.

                                      Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                      Check my blog-post: https://mumblebaj.xyz/
                                      Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                                      M 2 Replies Last reply Reply Quote 0
                                      • M Offline
                                        Manu85 @mumblebaj
                                        last edited by

                                        @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

                                        mumblebajM 1 Reply Last reply Reply Quote 0
                                        • M Offline
                                          Manu85 @mumblebaj
                                          last edited by Manu85

                                          @mumblebaj Hi ! it could look like this without column “B” which indicates the offensive and defensive bonuses

                                          0a629206-821e-4092-98b9-2d6481caa87d-image.png

                                          1 Reply Last reply Reply Quote 0
                                          • mumblebajM Offline
                                            mumblebaj Module Developer @Manu85
                                            last edited by

                                            @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?

                                            Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                            Check my blog-post: https://mumblebaj.xyz/
                                            Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                                            S M 2 Replies Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 2 / 6
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy