Fred Data

Overview

Fred data is accessible through a standard HTTP request. It requires an API key. Once you have received an API key, you can configure the API key among your davinci authentication tokens.

Usage

Once you have set up your api key as a davinci token, the url function in the davinci python library will append your key to any url you access from the fred site.

from davinci.python import url address = 'https://api.stlouisfed.org/fred/series/observations?file_type=json&series_id='+id data = url(address)