Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NewsApi Headlines not working anymore #293

Open
chray68 opened this issue Oct 13, 2024 · 1 comment
Open

NewsApi Headlines not working anymore #293

chray68 opened this issue Oct 13, 2024 · 1 comment

Comments

@chray68
Copy link

chray68 commented Oct 13, 2024

For years i'm using this superb Scroller Sketch and everything has been working properly, but just some days ago the news headlines, in my example Austrian headlines, stopped showing up. I've tried also the examples on their Homepage (using different keys) but no luck, It seems they are not providing any content for all the listed countries and there is only one exception - the US headlines are still working.
https://newsapi.org/v2/top-headlines?country=at&apiKey=c2547e0176d24e279bf49121896c10a9
{
"status": "ok",
"totalResults": 0,
"articles": [ ]
}
USA:
https://newsapi.org/v2/top-headlines?country=us&apiKey=c2547e0176d24e279bf49121896c10a9
{
"status": "ok",
"totalResults": 37,
-"articles": [
-{
-"source": {
"id": null,
"name": "[Removed]"
},
"author": null,
"title": "[Removed]",
"description": "[Removed]",
"url": "https://removed.com",
"urlToImage": null,
"publishedAt": "2024-10-13T05:33:00Z",
"content": "[Removed]"
},

Am i missing something and has anybody get this working again or could the code be updated to replace it with another news provider?

For example newsdata.io seems to be working fine:
Headlines from Austria
https://newsdata.io/api/1/latest?country=at&apikey=pub_56043380c6b880c24990664c1d6b072a3e932

{
"status": "success",
"totalResults": 2592,
-"results": [

@nukee77
Copy link

nukee77 commented Dec 8, 2024

Hello!
I have the same problem. It only works in one country and that is USA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants