A MagicMirror module to display upcoming fixtures for your chosen football leagues and teams.
Example:
MMM-Football-Fixtures uses football-data.org as a data source.
Option | Default value | Description |
---|---|---|
apiKey |
false |
The API key for football-data.org |
leagues |
{} |
All the leagues you want to display, the key is the header of the fixtures that will appear on your MagicMirror and the value is the code for the league which can be found at football-data.org. Unfortunately you will have to search through the blog posts to find the leagues you want as there is no single data source. |
leaguesShowAllGames |
{} |
Similar to leagues but all games in these leagues will be displayed in the table. |
teams |
[] |
These are a list of team names (as they appear in the league table) who's matches you want to display. |
teamComparator |
OR |
This can be either of ["OR", "AND"] this will determine if either the home team OR the away team, or the home team AND the away team must be teams that you are interested in (set in teams ). |
timeFrame |
n7 |
The value of the timeFrame argument must start with either p(ast) or n(ext), representing a timeframe either in the past or future. It is followed by a number in the range 1..99. For instance: p6 would return all fixtures in the last 6 days, whereas n23 would result in returning all fixtures in the next 23 days. |