Flask web application for Youtube APIv3
Youtube API v3 implementation using flask web app and jinja2 template.
- server.py Backend of app for GET and POST request to serve index.html
- index.html Frontend of app based on bootstrap and jinja2 template
- client_secret.json Authentication information of this application
- search.py Module to get search result using Youtube API
- Linux operating system with
pip3
andpython3
installed. flask
should be installedwtforms
should be installedargparse
should be installedjson
should be installed- pip3 install
operator
- pip3 install --upgrade google-api-python-client
- pip3 install --upgrade google-auth google-auth-oauthlib google-auth-httplib2
python3 server.py
Navigate to http://localhost:8090 to launch app.
Enter the search term in search box and click submit.Now results with thumbnails will be displayed. Click on thumbnail to redirect to video.
Click on any of the two button (Name, Published Date) to sort accordingly because It is assumed to sort via buttons. Sorting output will be by default ascending.