• 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-NextGameWithPlayers - Displays all players for the next game

Scheduled Pinned Locked Moved Sport
soccerfootballsportcourtplayer
4 Posts 2 Posters 2.7k Views 2 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.
  • J Offline
    julianvollmer
    last edited by julianvollmer Jan 1, 2018, 2:09 AM Oct 9, 2017, 7:09 PM

    MMM-NextGameWithPlayers

    Displays a table with all the players from your favorite team on there position and the next Opponent. Based on MMM-AllPlayers
    The module is using this API

    Github link

    Visualisation

    0_1507575724244_nextGame.png

    Using the module

    Clone the Module from GitHub

    git clone https://github.com/julianvollmer/MMM-NextGameWithPlayers
    

    Install the package football-data-api.

    npm install football-data-api
    

    To use this module, add the following configuration block to the modules array in the config/config.js file:

    var config = {
        modules: [
            {
    	        module: 'MMM-NextGameWithPlayers',
    	        position: 'top_center',  // This can be any of the regions. Best results in left or right regions.
    	        header: 'Alle Spieler', // Topic of your modul.
    		    config: {
    	            options: {
    		          headers: {'X-Auth-Token': 'YOUR_TOKEN'},
    		          shortNameLeague: "BL1", //Short name of your League.
    		          shortNameTeam: "HSV", //Short name of your team. Team must be in the League.
    		        },
    		    }
    		}
        ]
    }
    

    Configuration options

    Option Description
    X-Auth-Token Required You can get it from here.
    shortNameLeague Required Short name of your League
    shortNameTeam Required Short name of your team. Team must be in the League.

    Names for the different leagues:

    Short Name Long Name
    AAL Australian A-League
    CL Champions League 2017/18
    SB Serie B 2017/18
    DFB DFB-Pokal 2017/18
    PPL Primeira Liga 2017/18
    SA Serie A 2017/18
    PD Primera Division 2017
    BL2 2. Bundesliga 2017/18
    BL1 1. Bundesliga 2017/18
    FL2 Ligue 2 2017/18
    FL1 Ligue 1 2017/18
    DED Eredivisie 2017/18
    EL2 League Two 2017/18
    EL1 League One 2017/18
    ELC Championship 2017/18
    PL Premier League 2017/18
    BSA Campeonato Brasileiro da Série A
    M 1 Reply Last reply Dec 31, 2017, 3:51 PM Reply Quote 0
    • M Offline
      MrBorg @julianvollmer
      last edited by Dec 31, 2017, 3:51 PM

      @julianvollmer Wow nice module. But could this also be used somehow for following pro tennis players? That could be cool.

      1 Reply Last reply Reply Quote 0
      • J Offline
        julianvollmer
        last edited by Jan 1, 2018, 2:07 AM

        @MrBorg if there is an api to get the information there should be a way for visualisation. But Tennis is not my profession.

        M 1 Reply Last reply Jan 2, 2018, 1:41 PM Reply Quote 1
        • M Offline
          MrBorg @julianvollmer
          last edited by Jan 2, 2018, 1:41 PM

          @julianvollmer Ow I found an API https://developer.sportradar.com/files/indexTennis.html#player-profile

          It would be cool to get player info of different players - like Roger Federer and others shown in a schema likes yours with soccer players:

          http://www.itftennis.com/procircuit/players/player/profile.aspx?PlayerID=10019424

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • 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