• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MMM-Soccer - Standings, Schedules and Top Scorers

Scheduled Pinned Locked Moved Sport
bundesligafootballmodalpremiere leagueprimiera divisionsoccervoice control
209 Posts 43 Posters 397.6k Views 43 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.
  • F Offline
    fabbr @Henrik
    last edited by Mar 21, 2018, 10:31 PM

    @Henrik That is so amazing. I love this community. If you won’t mind putting it on a shared folder on dropbox or google drive, just send me link to it and I will check it out. Thanks!

    H 1 Reply Last reply Mar 21, 2018, 11:50 PM Reply Quote 0
    • H Offline
      Henrik @fabbr
      last edited by Mar 21, 2018, 11:50 PM

      @fabbr I’ve sent the details. Note that I did this a couple of months ago and there have been a minor change or two, like updated team logos, to the module since then.

      1 Reply Last reply Reply Quote 1
      • C Offline
        conkhidot
        last edited by Jul 18, 2018, 9:16 AM

        Hey community,

        have anyone tried it with the new season 18/19 ?

        S 1 Reply Last reply Jul 19, 2018, 9:39 PM Reply Quote 0
        • S Offline
          strawberry 3.141 Project Sponsor Module Developer @conkhidot
          last edited by Jul 19, 2018, 9:39 PM

          @conkhidot I just saw that there is now a new api version and the current implementation will not work with the new season :/

          Please create a github issue if you need help, so I can keep track

          1 Reply Last reply Reply Quote 0
          • F Offline
            fox
            last edited by Jul 21, 2018, 4:17 PM

            From where do i get the ID of Bundesliga 2018 / 2019
            i dont understand the content
            https://www.football-data.org/documentation/quickstart

            Issues With MMM-WatchDog known?

            https://forum.magicmirror.builders/post/29827

            Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

            1 Reply Last reply Reply Quote 0
            • E Offline
              evroom
              last edited by evroom Jul 21, 2018, 4:49 PM Jul 21, 2018, 4:46 PM

              Was looking into that too.
              It looks like v1 is not working anymore:

              $ curl -H 'X-Auth-Token:(apikey)' 'http://api.football-data.org/v1/competitions/'
              <html>
              <head><title>504 Gateway Time-out</title></head>
              <body bgcolor="white">
              <center><h1>504 Gateway Time-out</h1></center>
              <hr><center>nginx/1.6.2</center>
              </body>
              </html>
              

              Api v2 does work:

              $ curl -H 'X-Auth-Token:(apikey)' 'http://api.football-data.org/v2/competitions/'
              {"count":145,"filters":{},"competitions":[{"id":2144,"area":{"id":2000,"name":"Afghanistan"},"name":"Playoffs 2/3","code":null,"plan":"TIER_FOUR","currentSeason":{"id":212,"startDate":"2018-05-22","endDate":"2018-05-27","currentMatchday":null},"numberOfAvailableSeasons":1,"lastUpdated":"2018-07-13T13:34:06Z"},{"id":2006,"area":{"id":2001,"name":"Africa"},"name":"WC Qualification","code":null,"plan":"TIER_FOUR","currentSeason":{"id":7,"startDate":"2015-10-07","endDate":"2017-11-14","currentMatchday":6},"numberOfAvailableSea............
              

              German Bundesliga would be id: 2002

              $ curl -H 'X-Auth-Token:(apikey)' 'http://api.football-data.org/v2/competitions/2002'
              {"id":2002,"area":{"id":2088,"name":"Germany"},"name":"Bundesliga","code":null,"plan":"TIER_ONE","currentSeason":{"id":155,"startDate":"2018-08-24","endDate":"2019-05-18","currentMatchday":null},"seasons":[{"id":155,"startDate":"2018-08-24","endDate":"2019-05-18","currentMatchday":null},{"id":3,"startDate":"2017-08-18","endDate":"2018-05-21","currentMatchday":34},{"id":213,"startDate":"2016-08-26","endDate":"2017-05-20","currentMatchday":null},{"id":214,"startDate":"2015-08-14","endDate":"2016-05-14","currentMatchday":null},{"id":215,"startDate":"2013-08-09","endDate":"2014-05-10","currentMatchday":null},{"id":216,"startDate":"2012-08-24","endDate":"2013-05-18","currentMatchday":null},{"id":217,"startDate":"2011-08-05","endDate":"2012-05-05","currentMatchday":null},{"id":218,"startDate":"2010-08-20","endDate":"2011-05-14","currentMatchday":null},{"id":219,"startDate":"2009-08-07","endDate":"2010-05-08","currentMatchday":null},{"id":220,"startDate":"2008-08-15","endDate":"2009-05-23","currentMatchday":null},{"id":221,"startDate":"2007-08-10","endDate":"2008-05-17","currentMatchday":null},{"id":224,"startDate":"2006-08-11","endDate":"2007-05-19","currentMatchday":null},{"id":225,"startDate":"2005-08-05","endDate":"2006-05-13","currentMatchday":null},{"id":226,"startDate":"2004-08-06","endDate":"2005-05-21","currentMatchday":null},{"id":227,"startDate":"2003-08-01","endDate":"2004-05-22","currentMatchday":null},{"id":228,"startDate":"2002-08-09","endDate":"2003-05-24","currentMatchday":null},{"id":229,"startDate":"2001-07-28","endDate":"2002-05-04","currentMatchday":null},{"id":230,"startDate":"2000-08-11","endDate":"2001-05-19","currentMatchday":null},{"id":231,"startDate":"1999-08-13","endDate":"2000-05-20","currentMatchday":null},{"id":232,"startDate":"1998-08-14","endDate":"1999-05-29","currentMatchday":null},{"id":233,"startDate":"1997-08-01","endDate":"1998-05-09","currentMatchday":null},{"id":234,"startDate":"1996-08-16","endDate":"1997-05-31","currentMatchday":null}],"lastUpdated":"2018-06-05T00:10:05Z"}
              

              But unfortunately the v2 commands have a new syntax and probably different output, so the code would need a change.

              The changes are probably for the better:
              https://www.football-data.org/documentation/api#changelog
              but until someone spends some spare-time, we will have to do without it.

              MagicMirror version: 2.30.0
              Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
              Raspbian GNU/Linux 12 (bookworm)

              Test environment:
              MagicMirror version: v2.30.0
              Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
              Raspbian GNU/Linux 12 (bookworm)

              F 1 Reply Last reply Jul 22, 2018, 7:52 AM Reply Quote 0
              • F Offline
                fox @evroom
                last edited by Jul 22, 2018, 7:52 AM

                @evroom said in MMM-Soccer - Soccer Standings:

                Was looking into that too.
                It looks like v1 is not working anymore:

                $ curl -H 'X-Auth-Token:(apikey)' 'http://api.football-data.org/v1/competitions/'
                <html>
                <head><title>504 Gateway Time-out</title></head>
                <body bgcolor="white">
                <center><h1>504 Gateway Time-out</h1></center>
                <hr><center>nginx/1.6.2</center>
                </body>
                </html>
                

                Api v2 does work:

                $ curl -H 'X-Auth-Token:(apikey)' 'http://api.football-data.org/v2/competitions/'
                {"count":145,"filters":{},"competitions":[{"id":2144,"area":{"id":2000,"name":"Afghanistan"},"name":"Playoffs 2/3","code":null,"plan":"TIER_FOUR","currentSeason":{"id":212,"startDate":"2018-05-22","endDate":"2018-05-27","currentMatchday":null},"numberOfAvailableSeasons":1,"lastUpdated":"2018-07-13T13:34:06Z"},{"id":2006,"area":{"id":2001,"name":"Africa"},"name":"WC Qualification","code":null,"plan":"TIER_FOUR","currentSeason":{"id":7,"startDate":"2015-10-07","endDate":"2017-11-14","currentMatchday":6},"numberOfAvailableSea............
                

                German Bundesliga would be id: 2002

                $ curl -H 'X-Auth-Token:(apikey)' 'http://api.football-data.org/v2/competitions/2002'
                {"id":2002,"area":{"id":2088,"name":"Germany"},"name":"Bundesliga","code":null,"plan":"TIER_ONE","currentSeason":{"id":155,"startDate":"2018-08-24","endDate":"2019-05-18","currentMatchday":null},"seasons":[{"id":155,"startDate":"2018-08-24","endDate":"2019-05-18","currentMatchday":null},{"id":3,"startDate":"2017-08-18","endDate":"2018-05-21","currentMatchday":34},{"id":213,"startDate":"2016-08-26","endDate":"2017-05-20","currentMatchday":null},{"id":214,"startDate":"2015-08-14","endDate":"2016-05-14","currentMatchday":null},{"id":215,"startDate":"2013-08-09","endDate":"2014-05-10","currentMatchday":null},{"id":216,"startDate":"2012-08-24","endDate":"2013-05-18","currentMatchday":null},{"id":217,"startDate":"2011-08-05","endDate":"2012-05-05","currentMatchday":null},{"id":218,"startDate":"2010-08-20","endDate":"2011-05-14","currentMatchday":null},{"id":219,"startDate":"2009-08-07","endDate":"2010-05-08","currentMatchday":null},{"id":220,"startDate":"2008-08-15","endDate":"2009-05-23","currentMatchday":null},{"id":221,"startDate":"2007-08-10","endDate":"2008-05-17","currentMatchday":null},{"id":224,"startDate":"2006-08-11","endDate":"2007-05-19","currentMatchday":null},{"id":225,"startDate":"2005-08-05","endDate":"2006-05-13","currentMatchday":null},{"id":226,"startDate":"2004-08-06","endDate":"2005-05-21","currentMatchday":null},{"id":227,"startDate":"2003-08-01","endDate":"2004-05-22","currentMatchday":null},{"id":228,"startDate":"2002-08-09","endDate":"2003-05-24","currentMatchday":null},{"id":229,"startDate":"2001-07-28","endDate":"2002-05-04","currentMatchday":null},{"id":230,"startDate":"2000-08-11","endDate":"2001-05-19","currentMatchday":null},{"id":231,"startDate":"1999-08-13","endDate":"2000-05-20","currentMatchday":null},{"id":232,"startDate":"1998-08-14","endDate":"1999-05-29","currentMatchday":null},{"id":233,"startDate":"1997-08-01","endDate":"1998-05-09","currentMatchday":null},{"id":234,"startDate":"1996-08-16","endDate":"1997-05-31","currentMatchday":null}],"lastUpdated":"2018-06-05T00:10:05Z"}
                

                But unfortunately the v2 commands have a new syntax and probably different output, so the code would need a change.

                The changes are probably for the better:
                https://www.football-data.org/documentation/api#changelog
                but until someone spends some spare-time, we will have to do without it.

                Yes that explains a lot. Now i understand that its not working. would be nice if the author would update it.

                Issues With MMM-WatchDog known?

                https://forum.magicmirror.builders/post/29827

                Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

                M 1 Reply Last reply Jul 22, 2018, 12:12 PM Reply Quote 0
                • M Offline
                  Mykle1 Project Sponsor Module Developer @fox
                  last edited by Jul 22, 2018, 12:12 PM

                  @fox said in MMM-Soccer - Soccer Standings:

                  would be nice if the author would update it.

                  Or, you can fork the repo, make the corrections yourself, and submit a PR to the author. :-)

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    evroom
                    last edited by Jul 23, 2018, 9:09 PM

                    Maybe not nice for the author of MMM-Soccer, but I switched to MMM-SoccerLiveScore.
                    Have to wait for the competition to start to see how it really works, but the matches for August are already displayed.

                    I modified the api commands in MMM-Soccer to be compliant with v2, but could not get the parsing right.
                    Am a novice to JavaScript, CSS and JSON, so that was to be expected.

                    MagicMirror version: 2.30.0
                    Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                    Raspbian GNU/Linux 12 (bookworm)

                    Test environment:
                    MagicMirror version: v2.30.0
                    Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                    Raspbian GNU/Linux 12 (bookworm)

                    S 1 Reply Last reply Jul 24, 2018, 6:16 PM Reply Quote 0
                    • S Offline
                      strawberry 3.141 Project Sponsor Module Developer @evroom
                      last edited by Jul 24, 2018, 6:16 PM

                      @evroom I would be more than happy, if you could try to investigate your parsing issues. In case I will find some time before my longer holidays in the states, I will try to change the api myself.

                      Please create a github issue if you need help, so I can keep track

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 13
                      • 14
                      • 15
                      • 16
                      • 17
                      • 20
                      • 21
                      • 15 / 21
                      • 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