This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

fred

0.0.1 • Public • Published

Fred

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.

Readme

Keywords

none

Package Sidebar

Install

npm i fred

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • memosanchez