Skip to content

Federal Reserve Economic Data (FRED) API wrapper for node.js

License

Notifications You must be signed in to change notification settings

techstep/node-fred

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fred Build Status

FRED Logo

Installation

npm install fred

API Key

Fred and the FRED API require and API key. You can request an api key from the official Federal Reserve web site.

Overview

Create an instance of fred with your API key:

var fred = require('fred')('GiVeMe1APIKeYPLeaSe' || process.env.FRED_API_KEY);

Request a resource:

fred.series.observations('GDP', function(err, grossNationalProduct) {
  if (!err) console.log(grossNationalProduct.observations)
  done(err);
});

More information

The documentation for the FRED API is available on the Federal Reserve's web site.

About

Federal Reserve Economic Data (FRED) API wrapper for node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published