Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Magic Mirror Module: mmm-food2fork-recipes

This MagicMirror2 module allows you to download JSON and show random recipes from Food2Fork API

Collected from http://food2fork.com/about/api -- http://food2fork.com/

Installation

In your terminal, go to your MagicMirror's Module folder:

cd ~/MagicMirror/modules

Clone this repository:

git clone https://github.com/spectroman/mmm-food2fork-recipes.git

Configure the module in your config.js file.

Using the module

Now add the module to the modules array in the config/config.js file:

                {
                        module: 'mmm-food2fork-recipes',
                        position: 'top_left',
                        header: 'Recipe Ideas List',
                        config: {
                                APIkey: "5x1x6xf0x5x02xf8xx1x7x8x8xax0x2x", // after creating a user there u can get ur key
                                listSize: 4,
                                daysTable: { // for each day of the week you can select a word to search and generate random lists on magic mirror - 0 sunday , 1 monday and so forth
                                                "1": "natural",
                                                "2": "chicken",
                                                "3": "vegan",
                                                "4": "indian",
                                                "5": "japanese",
                                                "6": "quick",
                                                "0": "vegetarian"
                                }
                        }
                },

Configuration options

The following properties can be configured:

Option Description
APIkey Key from food2fork you can get registering at their site
listSize Amount of items to show
daysTable An array or search words, to generate a list based on what you like on that day

About

Download JSON and show random recipes from Food2Fork API for MagicMirror2

Resources

Releases

No releases published

Packages

No packages published