Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get full news content from News API [closed]

Tags:

json

android

api

enter image description hereThis is how I parse the JSON **strong text**

I'm using google news API to get news for my news App(Android). But the problem is, it only provides a short description of the news. Is there a way to get the full news content. The Screen Shot of the

  1. Parse the JSON
  2. Is how I set a onItem clicklistner to go to the website when click on the news item .

But I want to get the full news content in my app. Is there a way to do that?

enter image description here

like image 538
Harsha Bhadra Avatar asked Aug 23 '18 10:08

Harsha Bhadra


People also ask

Is News API a REST API?

News API is a simple JSON-based REST API for searching and retrieving news articles from all over the web.

Is there any free News API?

Mediastack. Mediastack is a simple and free REST API that allows you to access blog articles and live news worldwide in real-time. Get data from any news source and discover headlines and trends, historical news data, access breaking news, and monitor brands.


1 Answers

There is a way to do that it's just included in the paid version. On NewsAPI it says The unformatted content of the article, where available. This is truncated to 260 chars for Developer plan users. Evidence

Where does it say this? Right here at the bottom of the page under "content": https://newsapi.org/docs/endpoints/top-headlines

I've been trying to develop a news app too.

like image 150
Josh Avatar answered Oct 06 '22 01:10

Josh