You may need to install flask
and/or requests
. To do so, run:
pip3 install flask
pip3 install requests
To run, open the folder containing app.py
in a Terminal instance, and run:
export FLASK_ENV=development
flask run
You may find the following resources helpful in your development process:
- Tenor API Documentation - useful for understanding which URL we want to visit in order to make an API request for GIFs
- BEW 1.1 Lesson on Flask
- BEW 1.1 Lesson on Templates
- BEW 1.1 Lesson on APIs