Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 675 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 675 Bytes

Fred.Net

St. Louis Fed API toolkit for .Net

Nuget

Install-Package Fred.Net

Getting Started

// 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