NewsAPI icon indicating copy to clipboard operation
NewsAPI copied to clipboard

News not upating since 21st April

Open amitnarw opened this issue 3 years ago • 10 comments

amitnarw avatar Apr 26 '22 04:04 amitnarw

It's finally backed ;)))) I'm happy to see it working again.

tranhuudang avatar May 04 '22 09:05 tranhuudang

It's finally backed ;)))) I'm happy to see it working again.

Old data was already there, but there is no new data after 21st April 2022

amitnarw avatar May 05 '22 08:05 amitnarw

You're right, the bot seem to commit data to the repos regularly but no new data come in.

tranhuudang avatar May 05 '22 09:05 tranhuudang

We should build one, I'll start my own project next month.

tranhuudang avatar Jun 20 '22 08:06 tranhuudang

We should build one, I'll start my own project next month.

https://github.com/win11react/NewsAPI we made one feel free to use urself (you can configure thing according to your need from the workflow file)

Nice, but it's for unlimited use? I mean Saurav's NewsAPI have no limits. But in his API news refresh every hour.

amitnarw avatar Jun 20 '22 12:06 amitnarw

Nice, but it's for unlimited use? I mean Saurav's NewsAPI have no limits

yes unlimited just GitHub Pages sites have a soft bandwidth limit of 100 GB per month. (the same applies to Saurav's NewsAPI)

But in his API news refresh every hour.

we are updating the news every day (Edit: now every hour) which is fine for our needs you can just change the cron job to make it every hour maximum 10times each hour should work as GitHub Pages sites have a soft limit of 10 builds per hour.

https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages#limits-on-use-of-github-pages

yashash-pugalia avatar Jun 20 '22 12:06 yashash-pugalia

Everyday update is fine for me, what I really need is a stable repository, that not easy shut down or be abandoned by the owner. I'll star your repos and working with your repos.

tranhuudang avatar Jun 20 '22 13:06 tranhuudang

Everyday update is fine for me, what I really need is a stable repository, that not easy shut down or be abandoned by the owner. I'll star your repos and working with your repos.

it will be stable as we are using it in some quite large projects like blueedgetechno/win11React

yashash-pugalia avatar Jun 20 '22 13:06 yashash-pugalia

That's what I mean, thank you so much for your work. I currently have nothing, but that's must me a couple of cup of coffee for you when I'm in the right condition. So, a big thanks again.

tranhuudang avatar Jun 20 '22 13:06 tranhuudang

https://github.com/win11react/NewsAPI has stopped working it seems. Any other News API that's working currently?

rushilg13 avatar Jan 03 '23 14:01 rushilg13

If someone is still searchin for something similar to this, (only top-headlines tho) I made a GitHub Actions based version at https://github.com/Ostabo/news-api You could fork it and change the countries to your needs or use the 8 I used

Ostabo avatar Mar 16 '23 14:03 Ostabo