-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from crisvdn/feature/add-readme
Feature/add readme
- Loading branch information
Showing
3 changed files
with
42 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,39 @@ | ||
# MMM-MTG | ||
# MMM-MTG | ||
|
||
## Introduction | ||
|
||
This module fetches a MTG random card from Scryfall. | ||
Depending on configurations, it will fetch commanders only (legendary creatures) or random cards. | ||
|
||
![Example of MTG module](images/example.png?raw=true "Example") | ||
|
||
|
||
## configuration | ||
|
||
Minimal configuration | ||
```json | ||
{ | ||
module: "MMM-MTG", | ||
position: "bottom_right", // location | ||
}, | ||
``` | ||
|
||
|
||
| Configuration | values | summary | default | | ||
| ----- | ------ | ----- | ----- | | ||
| showCommandersOnly | `true/false` | Shows legendary creatures only or random cards | `true` | | ||
| FetchInterval | 0-X | Fetch interval in minutes. 0 is disabled. | 1 | | ||
| sizePx | 0-X px | Max size in height (string) | `450px` | | ||
|
||
Example configuration | ||
```json | ||
{ | ||
module: "MMM-MTG", | ||
position: "bottom_right", // location | ||
config: { | ||
showCommandersOnly: false, | ||
FetchInterval: 10, // every 10 minutes | ||
sizePx: "300px", // | ||
} | ||
}, | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.