Usage

Installation (Linux/RaspberryPi)

To use AmazeScrape, first install a virtual environment:

$ python -m venv .venv

Then activate the virtual environment:

(.venv) $ source .venv/bin/activate

Creating recipes

To retrieve a list of random ingredients, you can use the lumache.get_random_ingredients() function:

The kind parameter should be either "meat", "fish", or "veggies". Otherwise, lumache.get_random_ingredients() will raise an exception.

For example:

>>> import lumache
>>> lumache.get_random_ingredients()
['shells', 'gorgonzola', 'parsley']