Connection
This handler is implemented using the newsapi-python library. The required arguments to establish a connection are as follows:api_key
News API key to use for authentication.
Check out this guide on how to create the API key.It is recommended to use the API key to avoid the
API rate limit exceeded
error.If you installed MindsDB locally via pip, you need to install all handler dependencies manually. To do so, go to the handler’s folder (mindsdb/integrations/handlers/newsapi_handler) and run this command:
pip install -r requirements.txt
.Usage
Simple Search for recent articles:For more information about available actions and development plans, visit this page.