flask-gnews-api API to return the news related to the searched keyword using the gnews API export FLASK_APP=gnews_api.py flask run example - http://127.0.0.1:5000/search?q=python&number=5