Read the statement by Michael Teeuw here.
EveryNews: need ID's for Dutch news
-
@mumblebaj Thanks for your reply, but where do I find the ID for the news sources?
I tried several things but it did not work.
Peter -
@Peter why not just use your country code as input? That would pull news from all available sources for your specific country. I do not think that they have a list of specific sources.
you can add
&country=nl
to the end and it will filter just nl. From what I have seen is that nl only has one provider,{ "status": "ok", "sources": [ { "id": "rtl-nieuws", "name": "RTL Nieuws", "description": "Volg het nieuws terwijl het gebeurt. RTL Nieuws informeert haar lezers op een onafhankelijke, boeiende en toegankelijke wijze over belangrijke ontwikkelingen in eigen land en de rest van de wereld.", "url": "https://www.rtlnieuws.nl/", "category": "general", "language": "nl", "country": "nl" } ] }
-
@Peter You can post the following in your browser.
https://newsapi.org/v2/top-headlines/sources?apiKey=add-your-api-key-here
This will return all news sources and you can look for more in your country or region.
-
@mumblebaj thank you very much for trying to help me but I think I am to much of a noob to get it working.
The only source in NL I found was rtl-nieuws, like you said previously.
Peter -
@Peter Sorry about that Peter. If there is nothing further please remember to mark as resolved.
There is another option. You can use my module, MMM-NewsAPI which has a language option. It will bring up news from multiple source with the language of
nl
.Just follow the instructions on the Github page.
You can use your existing NewsAPI apiKey.
You can use the following configuration.
{ module: "MMM-NewsAPI", //header: "news", position: "bottom_center", disabled: false, config: { apiKey: "your-api-key-goes-here", choice: "headlines", pageSize: 20, sortBy: "publishedAt", drawInterval: 1000*30, templateFile: "template.html", fetchInterval: 1000*60*60, query: { country: "", category: "", q: "", qInTitle: "", sources: "", domains: "", excludeDomains: "", language: "nl" } } }