This Python script retrieves news articles via the NewsAPI. Build it into your app, or use it as is!
- Install required modules:
pip install configparser
pip install newsapi
- Create a configuration file in the root directory called
config.ini
with the following content:
[API]
KEY = thisismyapikey