Code Monkey home page Code Monkey logo

mmm-soccerlivescore's Introduction

fork of: https://github.com/mrtysn/MMM-SoccerLiveScore

MMM-SoccerLiveScore

This a module for the MagicMirror.
It displays live scores of your favorite soccer leagues and competitions.

Preview

Standing

Table

Scorers

Standings & Details

Installation

  1. Navigate into your MagicMirror's modules folder and execute git clone https://github.com/0m4r/MMM-SoccerLiveScore.git.
  2. Type npm ci
  3. prepare your configuration
  4. restart your magic mirror

Config

The entry in config.js can include the following options:

Option Description
leagues List of league-ID's you want to display. If you put more than one league the module switches automatically between them. A table with possible leagues and the related ID's can be found further down. Type: integer
Example: [35, 1, 9]
This value is OPTIONAL and if not specified it defaults to 1 (Uefa Champions League)
showNames Toggles teams names.

Default value: true
showLogos Toggles team logos.

Default value: true
displayTime defines how long the information for a league in leagues is shown on the screen. This screen time is used to display standings, tables and scorers. For example, if you specify displayTime to 30 seconds and showTables=true, showStandings=trueand showScorers=true each information will be shown for about 10 seconds.

Default value: 20 * 1000
showStandings displays the standings for the league

Default value: true
showDetails displays the games scorers whit the standings for the league (it requires showStandings: true )

Default value: true
showTables displays the tables for the league (if available)

Default value: true
showScorers displays the scorers for the league (if available)

Default value: true
scrollVertical scroll the module vertically (up and down)

Default value: true
language module display language. Available values are en, de and, it

Default value: en

Here is an example of an entry in config.js

{
  module: 'MMM-SoccerLiveScore',
  position: 'top_left',
  header: 'Live-Scores',
  config: {
    leagues: [35, 1, 9],
    showNames: true,
    showLogos: true,
    displayTime: 60 * 1000,
    showStandings: true,
    showTables: true,
    showScorers: true,
    scrollVertical: true,
    language: 'en', // supported values are en, de, it
  }
},

Leagues

League ID
AT
45 Ö. Bundesliga
135 Zweite Liga
445 ÖFB Cup
CH
215 Super League
216 Challenge League
399 Schweizer Cup
DE
9 DFB-Pokal
35 Bundesliga
44 2. Bundesliga
491 3. Liga
EN
17 Premier League
19 FA Cup
21 Carabao Cup
117 Championship
ES
8 La Liga
54 La Liga 2
329 Copa del Rey
EU
1 UCL
2 UEL
11 WC Quali
36 Premiership
38 Pro League
99 2nd Division
232 Bundesliga (F)
326 Belgium Cup
347 Scottish Cup
686 DFB-Pokal (F)
696 CL (F)
851 Int. Friendlies
4700 RL Nordost
4800 RL Bayern
4900 RL Südwest
5100 RL West
5200 RL Nord
5300 UECL
5400 Serie C Group A
5500 Serie C Group B
5600 Serie C Group C
23755 Nations League
FR
34 Ligue 1
182 Ligue 2
333 Coupe de la Ligue
335 Coupe de France
IT
23 Serie A
53 Serie B
328 Coppa Italia
NL
37 Eredivisie
131 Eerste Divisie
330 KNVB Beker
PT
238 Primeira Liga
239 Segunda Liga
336 Taça de Portugal
TR
52 Süper Lig
96 Turkiye Kupasi
98 1. Lig

Special Thanks

mmm-soccerlivescore's People

Contributors

0m4r avatar lukeskywalker92 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.