{"id":37073182,"url":"https://github.com/aamnv/fred-cli","last_synced_at":"2026-01-14T08:35:20.747Z","repository":{"id":57432172,"uuid":"290491368","full_name":"aamnv/fred-cli","owner":"aamnv","description":"CLI tool to interface with the FRED (Federal Reserve Economic Data) API.","archived":false,"fork":false,"pushed_at":"2020-08-27T20:32:41.000Z","size":14,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-27T12:49:02.238Z","etag":null,"topics":["cli-app","federal-reserve","federal-reserve-bank","fred-api","mit-license","open-source","python"],"latest_commit_sha":null,"homepage":"https://github.com/aamnv/fred-cli","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aamnv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-26T12:34:00.000Z","updated_at":"2025-06-22T22:18:12.000Z","dependencies_parsed_at":"2022-09-18T05:20:30.787Z","dependency_job_id":null,"html_url":"https://github.com/aamnv/fred-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aamnv/fred-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aamnv%2Ffred-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aamnv%2Ffred-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aamnv%2Ffred-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aamnv%2Ffred-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aamnv","download_url":"https://codeload.github.com/aamnv/fred-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aamnv%2Ffred-cli/sbom","scorecard":{"id":158882,"data":{"date":"2025-08-11","repo":{"name":"github.com/aamnv/fred-cli","commit":"86810e93242a90dd8ed1fbbd8999275dbd1da1cc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/5 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"17 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-865 / GHSA-vv2x-vrpj-qqpq","Warn: Project is vulnerable to: PYSEC-2022-42986 / GHSA-43fp-rhv2-5gv8","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: PYSEC-2021-140 / GHSA-9w8r-397f-prfh","Warn: Project is vulnerable to: PYSEC-2023-117 / GHSA-mrwq-x4v8-fh7p","Warn: Project is vulnerable to: PYSEC-2021-141 / GHSA-pq64-v7f5-gqh8","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: GHSA-g7vv-2v7x-gj9p","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2021-108 / GHSA-q2q7-5pp4-w6pg","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: GHSA-jfmj-5v4g-7637"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T12:46:09.714Z","repository_id":57432172,"created_at":"2025-08-16T12:46:09.714Z","updated_at":"2025-08-16T12:46:09.714Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28414474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:31:27.429Z","status":"ssl_error","status_checked_at":"2026-01-14T08:31:19.098Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli-app","federal-reserve","federal-reserve-bank","fred-api","mit-license","open-source","python"],"created_at":"2026-01-14T08:35:20.124Z","updated_at":"2026-01-14T08:35:20.732Z","avatar_url":"https://github.com/aamnv.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FRED CLI\n\nTL;DR: CLI app to interface with the FRED (Federal Reserve Economic Data) API.\n\n[![fred-cli demo](https://asciinema.org/a/356315.svg)](https://asciinema.org/a/356315)\n\n\u003e Fancy video thanks to: [asciinema](https://asciinema.org/)\n\n## Table of Contents\n\n- [Requirements](#Requirements)\n- [Installation](#Installation)\n- [Documentation](#Documentation)\n    - [Search](#Search)\n    - [About](#About)\n    - [Get](#Get)\n- [License](#License)\n\n## Requirements\n\n- Python 3.6+\n- Package Dependencies:\n    - [tabulate](https://github.com/astanin/python-tabulate)\n    - [fred](https://github.com/zachwill/fred)\n    - [click](https://github.com/pallets/click/)\n\n## Installation\n\nAssuming you have Python 3.6+ installed, you can install fred-cli via pip:\n\n`pip install fred-cli`\n\nYou'll also need an API key for FRED, which you can get for free via [the FRED website](https://research.stlouisfed.org/docs/api/api_key.html). Once you have your API key, export an environment variable that `fred-cli` can use:\n\n`export FRED_API_KEY=yourkeyhere`\n\n## Documentation\n\n`fred-cli` supports three main methods in `v1`:\n\n- search\n- about\n- get\n\n### Search\n\nThere are **~766,000** unique economic time series available via [FRED](). Luckily, `fred-cli` makes it easy to search through this massive list using search.\n\n**Example**:\n\n`fred search gross national product`\n\n**Returns**:\n\n| ID               | Title                               | Units                        | Freq.   |\n|------------------|-------------------------------------|------------------------------|---------|\n| GNP              | Gross National Product              | Bil. of $                    | Q       |\n| GNPA             | Gross National Product              | Bil. of $                    | A       |\n| A001RP1Q027SBEA  | Gross National Product              | % Chg. from Preceding Period | Q       |\n| A001RP1A027NBEA  | Gross National Product              | % Chg. from Preceding Period | A       |\n| MKTGNIUSA646NWDB | Gross National Income for United St | Current $                    | A       |\n| GNPC96           | Real Gross National Product         | Bil. of Chn. 2012 $          | Q       |\n| A001RO1Q156NBEA  | Real Gross National Product         | % Chg. from Qtr.  1 Yr. Ago  | Q       |\n| GNPCA            | Real Gross National Product         | Bil. of Chn. 2012 $          | A       |\n| A001RL1A225NBEA  | Real Gross National Product         | % Chg. from Preceding Period | A       |\n| A001RL1Q225SBEA  | Real Gross National Product         | % Chg. from Preceding Period | Q       |\n| GNPDEF           | Gross National Product: Implicit Pr | Index 2012=100               | Q       |\n| A001RI1Q225SBEA  | Gross National Product: Implicit Pr | % Chg. from Preceding Period | Q       |\n| A001RI1A225NBEA  | Gross National Product: Implicit Pr | % Chg. from Preceding Period | A       |\n| MKTGNIPHA646NWDB | Gross National Income for Philippin | Current $                    | A       |\n\n\u003e Page: 1 / 34 | next page (n), prev page (b), exit (e)\n\nSearch provides 15 results per page and pagination using user keyboard input:\n\n- n = next page\n- b = previous page\n- e = to exit and issue new commands\n\n### About\n\nThe search function only provides summary information on retrieved metrics and should be thought of as an entry point. That's why `fred-cli` also provides an `about` method that fetches more detailed information on a specific metric - given its ID.\n\n**Example**:\n\n`fred about GNP`\n\n**Returns**:\n\n| Series Info:         |                                 |\n|----------------------|---------------------------------|\n| ID:                  | GNP                             |\n| Title:               | Gross National Product          |\n| Obs. Start:          | 1947-01-01                      |\n| Obs. End:            | 2020-04-01                      |\n| Frequency:           | Quarterly                       |\n| Units:               | Billions of Dollars             |\n| Seasonal Adjustment: | Seasonally Adjusted Annual Rate |\n| Last Updated:        | 2020-08-27 08:00:33-05          |\n\nUsing the `search` and `about` method in tandem will allow users to properly discover and learn about available metrics.\n\n### Get\n\nFinally, there's the workhorse of the CLI - the `get` method. This method fetches an the time series for a user specified metric -  given a metric ID. Metric IDs can be found using the `search` method [described above](#Search).\n\n**Example**:\n\n`fred get GNP`\n\n**Returns**:\n\n| Period     |     GNP |\n|------------|---------|\n| 2015-07-01 | 18560.9 |\n| 2015-10-01 | 18611.9 |\n| 2016-01-01 | 18684.3 |\n| 2016-04-01 | 18874.5 |\n| 2016-07-01 | 19043.7 |\n| 2016-10-01 | 19306   |\n| 2017-01-01 | 19514.1 |\n| 2017-04-01 | 19646.8 |\n| 2017-07-01 | 19918.7 |\n| 2017-10-01 | 20261.5 |\n| 2018-01-01 | 20556.8 |\n| 2018-04-01 | 20844.2 |\n| 2018-07-01 | 21002.7 |\n| 2018-10-01 | 21182.6 |\n| 2019-01-01 | 21361.8 |\n| 2019-04-01 | 21601   |\n| 2019-07-01 | 21820.1 |\n| 2019-10-01 | 22028.5 |\n| 2020-01-01 | 21804.3 |\n| 2020-04-01 | 19616.8 |\n\n`get` defaults to fetching five years worth of data - but users can specify a year period via the `-y` argument:\n\n**Example**:\n\n`fred get -y 1 GNP`\n\n**Returns**:\n\n| Period     |     GNP |\n|------------|---------|\n| 2019-07-01 | 21820.1 |\n| 2019-10-01 | 22028.5 |\n| 2020-01-01 | 21804.3 |\n| 2020-04-01 | 19616.8 |\n\n## License\n\nMIT License\n\nCopyright (c) 2020 Aadhi Manivannan\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faamnv%2Ffred-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faamnv%2Ffred-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faamnv%2Ffred-cli/lists"}