• 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-SoccerLiveScore

Scheduled Pinned Locked Moved Sport
187 Posts 37 Posters 245.2k Views 35 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.
  • 0 Offline
    0m4r Module Developer @lavolp3
    last edited by Jan 19, 2021, 8:33 AM

    @lavolp3 I am actually reverse-engineering the APIs as there is no formal documentation.

    Anyhow,

    Do you know if the API provides the goals in any game as well?

    yes, the score is provided.
    If the game is ended it provides the final result, if the game is on-going you get the current score, if the game is not started it provides a default “0 - 0” result.

    And is German 2nd League and/or DFB cup integrated? (EDIT ok seen it in your README)

    the list of supported league are the same you can see on the toralarm.de website

    Are real-time live results availabe?

    yes, it is available. The APIs also return a suggested time to refresh to get up to date results.

    https://github.com/0m4r

    L 1 Reply Last reply Jan 19, 2021, 9:16 AM Reply Quote 0
    • L Offline
      lavolp3 Module Developer @0m4r
      last edited by lavolp3 Jan 19, 2021, 9:16 AM Jan 19, 2021, 9:16 AM

      @0m4r said in MMM-SoccerLiveScore:

      yes, the score is provided.
      If the game is ended it provides the final result, if the game is on-going you get the current score, if the game is not started it provides a default “0 - 0” result.

      Thanks but i meant the information about the goals: minutes, scorers

      How to troubleshoot modules
      MMM-soccer v2, MMM-AVStock

      0 1 Reply Last reply Jan 22, 2021, 8:59 AM Reply Quote 0
      • 0 Offline
        0m4r Module Developer @lavolp3
        last edited by Jan 22, 2021, 8:59 AM

        @lavolp3 I think with some more work it can be done…
        I am also considering to add the scorers standings for each league
        It is quite a hard work to reverse engineer the APIs, but it is fun :D

        https://github.com/0m4r

        L 1 Reply Last reply Jan 22, 2021, 11:35 AM Reply Quote 0
        • L Offline
          lavolp3 Module Developer @0m4r
          last edited by Jan 22, 2021, 11:35 AM

          @0m4r Well I don’t know anything about reverse engineering so appreciate if you find anything.

          How to troubleshoot modules
          MMM-soccer v2, MMM-AVStock

          E 1 Reply Last reply Feb 1, 2021, 7:22 PM Reply Quote 0
          • E Offline
            Egnos @lavolp3
            last edited by Feb 1, 2021, 7:22 PM

            Hi guys,
            for a couple of days I have not seen the results of Serie A (Italy) and Champions League.

            Is it just me who has this problem?
            Thank you.

            My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

            0 1 Reply Last reply Feb 3, 2021, 7:33 AM Reply Quote 0
            • 0 Offline
              0m4r Module Developer @Egnos
              last edited by Feb 3, 2021, 7:33 AM

              @egnos I can still see them, but I have installed my own fork which I tweaked and fixed in some places: https://github.com/0m4r/MMM-SoccerLiveScore

              If you are familiar with github you can even try some of the new features I am working on by checking out the developer branch :)

              https://github.com/0m4r

              E 1 Reply Last reply Feb 3, 2021, 9:31 PM Reply Quote 0
              • E Offline
                Egnos @0m4r
                last edited by Feb 3, 2021, 9:31 PM

                @0m4r thanks for answering me.
                Now it works without my intervention!

                Where can I find the news you are working on?

                My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                0 S 2 Replies Last reply Feb 5, 2021, 12:11 PM Reply Quote 0
                • 0 Offline
                  0m4r Module Developer @Egnos
                  last edited by Feb 5, 2021, 12:11 PM

                  @egnos I posted the link to the repo in my prev comment.
                  Anyhow, to see the latest (under development) updates, after you cloe you need to switch to the development branch:

                  from your MagicMirror home folder, enter the modules one

                  cd modules

                  clone the repo

                  git clone https://github.com/0m4r/MMM-SoccerLiveScore

                  checkout the development branch

                  git checkout development

                  You may need to restart MagicMirror.

                  https://github.com/0m4r

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    schlittrix @Egnos
                    last edited by Mar 26, 2021, 2:56 PM

                    @egnos said in MMM-SoccerLiveScore:

                    @0m4r thanks for answering me.
                    Now it works without my intervention!

                    Where can I find the news you are working on?

                    Thanks, module works fine.
                    One question: I just set the standings without table and without text. I would like to show it in die top_bar.
                    config:

                    {
                    	module: 'MMM-SoccerLiveScore',
                    	position: 'top_left',
                    	header: 'Live-Scores',
                    	config: {
                    		leagues: [35],
                            showNames: false,
                            showLogos: true,
                            displayTime: 60 * 1000,
                            showTables: false
                    	}
                    },
                    

                    my problem is, the weidth is over the whole monitor (standings in the middle, but the logos on the maximum left and maximum right side. so the other modules are too far down. Is it possible to set the module with a fix width f.e. 400px?

                    0 1 Reply Last reply Mar 26, 2021, 3:00 PM Reply Quote 0
                    • 0 Offline
                      0m4r Module Developer @schlittrix
                      last edited by Mar 26, 2021, 3:00 PM

                      uhm… the problem is that you may not be able to see the whole standings then.
                      I have also go got a similar problem and still have not found a real solution.

                      Ayway, you can try to add in the custom.css something like:

                      .module.MMM-SoccerLiveScore {
                          max-height: 400px; //any value that fits you
                          overflow: hidden;
                      }
                      

                      https://github.com/0m4r

                      S 1 Reply Last reply Mar 26, 2021, 3:28 PM Reply Quote 0
                      • 1
                      • 2
                      • 8
                      • 9
                      • 10
                      • 11
                      • 12
                      • 18
                      • 19
                      • 10 / 19
                      • 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