This is a module for MagicMirror²; the purpose of the module is to show you jokes from the french BlaguesAPI (https://www.blagues-api.fr).
- Clone this repository into your MagicMirror
modulesfolder. - Edit your configuration file under
config/config.jswith the following configuration.
{
module: 'MMM-BlaguesAPI',
position: 'bottom_bar',
type: {
type: "random",
fetchInterval: 60000,
blaguesApiToken: "xxxxx"
}
}
| Option | Description |
|---|---|
type |
The list of module names that are controlled by this module. Possible values: 1. global2. dev3. dark4. limit5. beauf6. blondesType: string Default value: random |
fetchInterval |
How often (in milliseconds) a new joke should be fetched. Type: number Default value: 60 * 1000 |
blaguesApiToken |
Your API Token generated on https://www.blagues-api.fr Type: string |
MagicMirror²: MagicMirror²
BlaguesAPI: BlaguesAPI
