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
Release history Release notifications | RSS feed
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 details)
Built Distribution
fredx-0.0.5-py3-none-any.whl
(3.8 kB
view details)
File details
Details for the file fredx-0.0.5.tar.gz
.
File metadata
- Download URL: fredx-0.0.5.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f952ec5e1541585698fbcf5d7623c20d886850273a74bba9f17dbb5a7400fb3 |
|
MD5 | b044f45d6772174e2e51c4bcdcf48811 |
|
BLAKE2b-256 | 2e7ff80d655271980c833efe6a7bdc9331bf0c7071e938ff6fd25cbae489e63f |
File details
Details for the file fredx-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: fredx-0.0.5-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a346ab657d76bf10b358ee7f3f976c98a1e4310a5af81ef40dc342425c9c298e |
|
MD5 | 012a4c5ddfe1a757954eeb81cf80d254 |
|
BLAKE2b-256 | f6a630d3773c9a90a86731e8f0fe14dc1a2ecc7736814e0213ce7deabe40bbb9 |