FRED API: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 10: Line 10:
pip3 install fredapi
pip3 install fredapi
</syntaxhighlight>
</syntaxhighlight>
=Code Examples=
==Processing Financial Data with FRED API==
{{Internal|Processing Financial Data with FRED API#Overview|Processing Financial Data with FRED API}}


=Get the API Key=
=Get the API Key=

Revision as of 19:22, 8 October 2023

External

Internal

Installation

pip3 install fredapi

Code Examples

Processing Financial Data with FRED API

Processing Financial Data with FRED API

Get the API Key

Request an API key from here: https://fred.stlouisfed.org/docs/api/api_key.html

Code Examples

Initialization

from fredapi import Fred
fred = Fred(api_key='...')

Search

fred.search("text", limit=1000, order_by=None, sort_order=None, filter=None)

Do a full text search for series in the FRED data set. Returns the results as a data frame.

Get Series

Organizatorium