News provider

We will be using News API from https://newsapi.org/ to fetch the latest news from various sources. It is a simple, free, and easy-to-use API that returns JSON from over 70 different sources. It is recommended to get an API key from News API because we will require it in our application later to fetch the news.

There are two APIs provided by the news provider—one to fetch news sources, and a second to fetch news articles.

Get Kotlin Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.