• 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.5k 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.
  • S Offline
    strawberry 3.141 Project Sponsor Module Developer
    last edited by strawberry 3.141 Jun 27, 2016, 7:21 PM Jun 27, 2016, 7:20 PM

    @sarthak18593 I removed the module from the pi and reinstalled it from scratch and it’s working like before.

    So let’s try to figure out what causes the problem for you.

    I’m very busy the next days with exams and presentations but I’m trying to help as fast as I possibly can.

    Can you post your config please.

    Did you try to disable all other modules in the config to see if there’s a conflict to another module?

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

    1 Reply Last reply Reply Quote 0
    • Z Offline
      zombi27
      last edited by zombi27 Jul 5, 2016, 11:42 AM Jul 5, 2016, 11:42 AM

      hey!
      that looks like a great module! Sadly it’s not working for me :(

      I installed it just the way you described, but i just get “No data available”
      Do i have to get an api key? Or is “false” possible like in your config? I just copy and pasted yours, all other modules are working fine…

      greetings from frankfurt, max

      1 Reply Last reply Reply Quote 0
      • S Offline
        strawberry 3.141 Project Sponsor Module Developer
        last edited by strawberry 3.141 Jul 5, 2016, 5:42 PM Jul 5, 2016, 5:41 PM

        hey max, like I described in the post before yours i did it like in the instructions and it worked fine, but let’s try together to figure out why it’s not working for you.

        you don’t need an api key unless you make over 50 requests a day. at the moment the module only request data from the api if the module gets initialised after starting your mirror. when you dont restart your mirror more than 50 times a day you don’t need one.

        because you can see no data available the module should be loaded correctly, but there is probably a problem with the api itself. did you try to put the url in the browser and see if you get a result there maybe the server of the api isn’t available at the moment
        http://api.football-data.org/v1/soccerseasons/394/leagueTable
        this should give you a result for german bundesliga

        report your result on this and then we can see what we can do otherwise if its not working

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

        1 Reply Last reply Reply Quote 0
        • Z Offline
          zombi27
          last edited by Jul 5, 2016, 9:30 PM

          sorry! my fault! silly me!

          i reloaded a hundred times via ctrl+r, but i never restarted the whole mirror -.-
          now it’s working just fine, thank you :)

          1 Reply Last reply Reply Quote 0
          • S Offline
            strawberry 3.141 Project Sponsor Module Developer
            last edited by Jul 5, 2016, 9:49 PM

            i’m happy that it’s working for you

            if you want you can also apply for a free api key here http://api.football-data.org/register to get 50 requests a minute

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

            1 Reply Last reply Reply Quote 0
            • I Offline
              ianperrin
              last edited by Aug 1, 2016, 8:15 PM

              Hi @strawberry-3-141 - thanks for putting together this module.

              In case it helps anyone, I’ve created a GitHub repository for my version of the module - https://github.com/ianperrin/MMM-FootballData. I renamed it to add the MMM- prefix as that seems the convention round here, and changed soccer to FootballData because a) that’s the name of the game :) and b) it indicates the source (http://api.football-data.org)

              [card:ianperrin/MMM-FootballData]

              ALL CREDIT GOES TO @strawberry-3-141

              "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

              S I 3 Replies Last reply Aug 1, 2016, 8:19 PM Reply Quote 1
              • S Offline
                strawberry 3.141 Project Sponsor Module Developer @ianperrin
                last edited by Aug 1, 2016, 8:19 PM

                @ianperrin well that’s kind of an old version meanwhile, I have a work in progress of a newer version on github already

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

                I 1 Reply Last reply Aug 1, 2016, 8:23 PM Reply Quote 0
                • I Offline
                  ianperrin @strawberry 3.141
                  last edited by Aug 1, 2016, 8:23 PM

                  @strawberry-3.141 do you have a link?

                  "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    strawberry 3.141 Project Sponsor Module Developer @ianperrin
                    last edited by Aug 1, 2016, 8:25 PM

                    [card:fewieden/MMM-soccer]

                    as I said it’s work in progress and not finished

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

                    I 1 Reply Last reply Aug 1, 2016, 8:34 PM Reply Quote 0
                    • I Offline
                      ianperrin @strawberry 3.141
                      last edited by Aug 1, 2016, 8:34 PM

                      @strawberry-3.141 care to share your plans - perhaps I can contribute?

                      I also notice you’ve hardcoded the leagues into the subclassed start method. Is there a reason for this, because it means that I can’t override them via config to use other leagues?

                      "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

                      1 Reply Last reply Reply Quote 2
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 20
                      • 21
                      • 2 / 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