Python 3.10 is required for the project.
Install the requirements.
pip install -r requirements.txt
Paste the api key that you obtain from https://gnews.io/ in the .env
file.
python main.py
Navigate to localhost:8080/docs
to view API documentation.
In the free plan, you can only request for 10 articles at a time. Currently, I have provided my API key which allows 100 requests/day.