This is a module for MagicMirror²; the purpose of the module is to show you jokes from the JokeAPI.
- Clone this repository into your MagicMirror
modulesfolder. - Edit your configuration file under
config/config.jswith the following configuration.
{
module: 'MMM-JokeAPI',
position: 'middle_center',
config: {
category: "Programming"
}
}
| Option | Description |
|---|---|
category |
The list of module names that are controlled by this module. Possible values: 1. Programming2. Miscellaneous3. Dark4. AnyType: string Default value: Programming |
fetchInterval |
How often (in milliseconds) a new joke should be fetched. Type: number Default value: 10 * 1000 |
MagicMirror²: MagicMirror²
JokeAPI: JokeAPI
