fred_api
Fork of
fredapi
package by Mortada Mehyar: https://github.com/mortada/fredapi
This fork fixes errors caused by out-of-range timestamps produced in the original fredapi
package (version 0.5.0).
Fred
Fred (api_key=None, api_key_file=None)
Initialize the Fred class that provides useful functions to query the Fred dataset. You need to specify a valid API key in one of 3 ways: pass the string via api_key, or set api_key_file to a file with the api key in the first line, or set the environment variable FRED_API_KEY
to the value of your api key. You can sign up for a free api key on the Fred website at http://research.stlouisfed.org/fred2/