Topl Interview Project

Required

Python 3.10 is required for the project.

Usage

Install the requirements.

pip install -r requirements.txt

API key Generation

Paste the api key that you obtain from https://gnews.io/ in the .env file.

Start the server using

python main.py

API Docs

Navigate to localhost:8080/docs to view API documentation.

Notes

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.