fred-py-api

A fully featured FRED Command Line Interface & Python API client library.


Keywords
api-wrapper, cli, command-line, finance, fred, fred-api, python, requests, research, science-research
License
MIT
Install
pip install fred-py-api==0.1.2

Documentation

PyPI version Documentation Status Supported Python Versions codecov

Fred CLI & Python API

A fully-featured FRED Command-Line Interface & Python API Wrapper.

Python API Documentation:

Wiki:

FRED References:

Shell Auto-Completion:

Fred CLI supports auto-completion for zsh, bash and fish shells. See instructions for each directly below.

zsh Completions

Add this to ~/.zshrc

eval "$(_FRED_COMPLETE=zsh_source fred)"
eval "$(_CATEGORIES_COMPLETE=zsh_source categories)"
eval "$(_RELEASES_COMPLETE=zsh_source releases)"
eval "$(_SERIES_COMPLETE=zsh_source series)"
eval "$(_SOURCES_COMPLETE=zsh_source sources)"
eval "$(_TAGS_COMPLETE=zsh_source tags)"

bash Completions

Add this to ~/.bashrc

eval "$(_FRED_COMPLETE=bash_source fred)"
eval "$(_CATEGORIES_COMPLETE=bash_source categories)"
eval "$(_RELEASES_COMPLETE=bash_source releases)"
eval "$(_SERIES_COMPLETE=bash_source series)"
eval "$(_SOURCES_COMPLETE=bash_source sources)"
eval "$(_TAGS_COMPLETE=bash_source tags)"

fish Completions

Add this to ~/.config/fish/completions/fred.fish

_FRED_COMPLETE=fish_source fred | source
_CATEGORIES_COMPLETE=fish_source categories | source
_RELEASES_COMPLETE=fish_source releases | source
_SERIES_COMPLETE=fish_source series | source
_SOURCES_COMPLETE=fish_source sources | source
_TAGS_COMPLETE=fish_source tags | source