NewsAPI.Net is an alternative .NET api wrapper for https://newsapi.org.
The official way to get support for this library is through this Discord server:
This package is available via NuGet:
Install-Package NewsAPI.Net
on the Package Manager console.
First get an API key from https://newsapi.org/account
A set of examples would be:
var api = new NewsAPIClient("api-key");
var sources = await api.GetSourcesAsync();
var everything = await api.GetEverythingAsync("bitcoin", "sources", "domains", Language.ENGLISH);
var topHeadlines = await api.GetTopHeadlinesAsync("dotnet", "sources", "domains", Language.ENGLISH);
- under construction, source code is documented.
We abide by the MIT License, provided here.
- under construction, coming soon.