Overview The goal of the second project is to create a Web application using Pyt

Overview
The goal of the second project is to create a Web application using Python, Flask framework, HTML, CSS, the New York Times API and JSON documents to transmit data across the network.
Preliminaries
Create a new project in the PyCharm IDE
Name the project as Project2
Select new environment as virtualenv
Select Python version 3.8 or 3.9
Install and import packages:
pip install flask flask-wtf wtforms requests
The project will have the follow hierarchy:
_ Project2
_ _ run.py
_ _ Project2_Flask
_ _ _ JSON_Files
_ _ _ static
_ _ _ templates
_ _ _ _ search.html
_ _ _ _ results.html
_ _ _ forms.py
_ _ _ main_functions.py
_ _ _ __init__.py
_ _ _ routes.py
In purple: directories
In blue: html files
In green: python files
The static directory will contain any optional js or css files you need to design the html pages.
The JSON_Files directory will contain one .json file for your API key and possibly one or more .json files containing the data requested by the user.
In this WebApp, you can use any of the APIs available at the NewYorkTimes API (Links to an external site.), except the Top Stories API and the Most Popular Articles API. I highly recommend the Books API. Feel free to use the nltk package for Natural Language Processing methods (similar to what we used in the previous project). Note that using nltk package is optional.
In the forms.py, please use at least 3 out the basic field instances available here (Links to an external site.). For example, you can ask the user to select a certain topic using a RadioField or a SelectField, you can ask the user for an integer using the IntegerField, etc.
The goal of this app is to display interesting information according to the API chosen. You will have more freedom to choose the API in this project; therefore, creativity plays an important role here.

Posted in Uncategorized

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount