FredAPI.jl

A Julia interface to the Federal Reserve Economic Data API. This package is issued under the MIT License and is unaffiliated with the Federal Reserve Bank of St. Louis.

This product uses the FRED API but is not endorsed or certified by the Federal Reserve Bank of St. Louis.

Use of the FRED API is subject to Terms of Use, and by using this Julia package to interface with the FRED API, you agree to be bound by the FRED API Terms of Use.

All use of the FRED API requires an API key. You are responsible for requesting and using your own key.

Interface

FredAPI.get_api_keyMethod
get_api_key(api_key)

Obtains an api_key for use in HTTP requests

  • If api_key is an instance of AbstractString, a String representation of api_key is returned.
  • If api_key is nothing, the global API key is returned. (See set(api_key)(@ref))

This method serves as the default approach to obtaining an api_key in many functions.

source