{"id":37647198,"url":"https://github.com/deepwaterpaladin/fred_api","last_synced_at":"2026-01-16T11:26:42.162Z","repository":{"id":139984792,"uuid":"516418250","full_name":"deepwaterpaladin/fred_api","owner":"deepwaterpaladin","description":"Data extraction project using FRED API","archived":false,"fork":false,"pushed_at":"2024-05-06T00:39:25.000Z","size":99,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-06T01:35:49.818Z","etag":null,"topics":["data-science","economics","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deepwaterpaladin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-21T15:07:01.000Z","updated_at":"2024-05-06T01:35:52.142Z","dependencies_parsed_at":"2024-05-06T01:46:15.268Z","dependency_job_id":null,"html_url":"https://github.com/deepwaterpaladin/fred_api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deepwaterpaladin/fred_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepwaterpaladin%2Ffred_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepwaterpaladin%2Ffred_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepwaterpaladin%2Ffred_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepwaterpaladin%2Ffred_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepwaterpaladin","download_url":"https://codeload.github.com/deepwaterpaladin/fred_api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepwaterpaladin%2Ffred_api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","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":["data-science","economics","python"],"created_at":"2026-01-16T11:26:41.188Z","updated_at":"2026-01-16T11:26:42.153Z","avatar_url":"https://github.com/deepwaterpaladin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\n## Getting Started\n\n1. Install dependencies -\u003e `pip install requirements.txt`\n1. create `.env` file\n1. add `API_KEY` constant to `.env` file \u0026 add API key\n\n## Using the Package\n\n1. files in the `src` directory are up to date\n1. `commodities.py` features:\n    - `Commodity()` class is the main class\n    - `Metals()`, `Agriculture()`, `Energy()`, \u0026 `Livestock()` are subclasses of `Commodity()`\n        - `Metals()`: `IronOre()`, `Copper()`, `Aluminum()`, `Lead()`, `Zinc()`, `Nickel()`, `Tin()`, \u0026 `Uranium()`\n        - `Agriculture()`: `Corn()`, `Soybeans()`, `Wheat()`, `Cotton()`, `Barley()`, `Coffee()`, `Cocoa()`, `Bananas()`, \u0026 `OliveOil()`\n        - `Energy()`: `Natural Gas()`, \u0026 `Oil()`\n        - `Livestock()`: `Shrimp()`, `Swine()`, `Beef()`,  `Shellfish()`, `Lamb()`, `Poultry()`, \u0026 `Fish()`\n    - Data can be accessed via `x_week/month_price()` method with x being the number of weeks/months\n       - returns a pandas dataframe\n    - Plot the data via the `plot()` method\n       - returns a `plotly` chart\n1. `monetary_base.py` features:\n    - `MonetaryBase()` is the main class\n        - `TotalMB()`, `Currency()`, `Reserve()`, `SwissMB()`, `M1()`, `M1Velo()`, `M2()`, \u0026 `M2Velo()` are the subclasses\n1. `exchange_rate.py` features:\n    - `SpotRate()` is the main class\n1. As files in the `src` directory are updated, the `README.md` file will be updated to reflect the changes (eventually this will be `__init__.py` file being updated once this is a proper package)\n\n## About FRED API\n\n- The Federal Reserve Economic Data (FRED) API is a web service for obtaining economic data from the Federal Reserve Bank of St. Louis.  \n- The FRED API is a RESTful web service that returns data in JSON, XML, or CSV format. The FRED API is free to use.\n- [FRED API Documentation](https://fred.stlouisfed.org/docs/api/fred/)\n\n## TODO\n\n1. Refactor following files in the style of `class Oil` in `commodities.py`:\n    - [ ] `bonds.py`\n    - [X] `business_expectations.py`\n    - [X] `commodities.py`\n    - [X] `consumer_credit.py`\n    - [ ] `delinquency.py`\n    - [X] `exchange_rate.py`\n    - [ ] `housing.py`\n    - [X] `monetary_base.py`\n    - [ ] `producer_prices.py`\n    - [ ] `stocks.py`\n    - [ ] `uncertainty.py`\n    - [ ] `unemployment.py`\n1. Add method to standardize units in commodities.py\n1. Add more data to the database\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepwaterpaladin%2Ffred_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepwaterpaladin%2Ffred_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepwaterpaladin%2Ffred_api/lists"}