Implementing the use of Flask, Requests and Jinja learned in class to create a local running website that uses the Tenor API
clone this repo and $ Flask run or visit: http://gif-search-project.herokuapp.com/
gif_search
| - static: Style Sheets
| - style.css
| - templates: HTML files for Framework
| - base.html
| - gif.html
| - index.html
| - app.py: Flask Framework
Omar Sagoo Github
Luke Parker Github
Modules required to run this application: Request and Flask
~$ pip3 install requests flask
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