Skip to content

NewsApi Headlines not working anymore #293

Open
@chray68

Description

@chray68

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": [

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions