St. Louis Fed API toolkit for .Net
Install-Package Fred.Net
// Create an instance of client class
Client client = new Client(your_api_key);
// For getting a series observations
var parameters = new ObservationParameters
{
Id = "GNPCA",
};
var result = await client.GetSeriesObservations(parameters);
You can call all API requests via client class methods and each call will return its data in form of Fred.Net.Models classes.
For using requests options parameters use the keyword arguments of each request method.
The library uses XML format for getting the data.
The target framework is .Net Standard 2.0