Create a database of news headlines using the https://newsapi.org/ API key
pip install requests textblob
or
pip install -r requirements.txt
import requests
import sqlite3
from textblob import TextBlob
API_KEY = 'Your API key here'
BASE_URL = 'https://newsapi.org/v2/top-headlines'
get_news(API_KEY)