Using Azure functions to fetch json files for meals in Africa
- Python 3.6, 3.7 or 3.8 (if you have 3.9 you will need to use a virtual environment)
- npm to install azure-functions core tools
- anaconda to install virtual environment
P.S. I'm using windows
Check the python version you have.
python --version
If it is not 3.6, 3.7 or 3.8 create a virual environment using anaconda.
conda create -n [environment name] python=[version]
Activate your environment
conda activate [environment name]
Install azure-functions core tools (v3) using npm
npm i -g azure-functions-core-tools@3
Initialize the function
func init
Run the function
func start