Skip to main content

St. Louis Federal Reserve FRED API

Project description

Fred eXtreme

  • Request multiple series with a single line
  • Fast
  • Async
  • All operations using a single http client

Installation

pip install fredx
# or
pip install "git+https://github.com/AhmedThahir/fredx"

Import

from fred import Fred

Create Object

API_KEY = ""
fred = Fred(API_KEY)

Get list of series

series_list_df = await (
    fred
    .get_series_list(
      tags = ["india", "monthly"],
      limit = 2
    )
)

Get series data

series_list = list(series_list_df["id"])
series_data = await fred.get_series(
    series_id_list = series_list,
    limit = 1
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fredx-0.0.5.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

fredx-0.0.5-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page