🗳️ OpenFEC
OpenFEC — campaign finance data, candidates, committees, filings, and contribution search.
Requirements
| Variable | Required | Description |
|---|
| INLINECODE0 | ✅ | FEC API key (or DEMO_KEY) |
Quick Start
CODEBLOCK0
Output Format
All commands output JSON by default.
Script Reference
| Script | Description |
|---|
| INLINECODE1 | Main CLI — all commands in one tool |
Credits
Built by
M. Abidi |
agxntsix.ai
YouTube |
GitHub
Part of the
AgxntSix Skill Suite for OpenClaw agents.
📅 Need help setting up OpenClaw for your business? Book a free consultation
🗳️ OpenFEC
OpenFEC — 竞选财务数据、候选人、委员会、申报文件和捐款搜索。
环境要求
| 变量 | 是否必需 | 描述 |
|---|
| FECAPIKEY | ✅ | FEC API 密钥(或 DEMO_KEY) |
快速开始
bash
搜索候选人
python3 {{baseDir}}/scripts/openfec.py search-candidates --q <值> --office <值> --state <值> --party <值> --cycle <值> --per-page 20
获取候选人详情
python3 {{baseDir}}/scripts/openfec.py get-candidate
获取候选人财务总额
python3 {{baseDir}}/scripts/openfec.py candidate-totals --cycle <值>
搜索委员会
python3 {{baseDir}}/scripts/openfec.py search-committees --q <值> --committee-type <值> --per-page 20
获取委员会详情
python3 {{baseDir}}/scripts/openfec.py get-committee
列出申报文件
python3 {{baseDir}}/scripts/openfec.py list-filings --candidate-id <值> --committee-id <值> --per-page 20
搜索个人捐款
python3 {{baseDir}}/scripts/openfec.py search-contributions --contributor-name <值> --contributor-state <值> --min-amount <值> --max-amount <值> --per-page 20
搜索支出
python3 {{baseDir}}/scripts/openfec.py search-disbursements --committee-id <值> --recipient-name <值> --per-page 20
获取选举结果
python3 {{baseDir}}/scripts/openfec.py election-results --office president --cycle <值>
按实体类型获取总额
python3 {{baseDir}}/scripts/openfec.py get-totals --cycle <值>
输出格式
所有命令默认输出 JSON 格式。
脚本参考
| 脚本 | 描述 |
|---|
| {baseDir}/scripts/openfec.py | 主 CLI — 所有命令集成于一个工具 |
致谢
由 M. Abidi 构建 | agxntsix.ai
YouTube | GitHub
属于 AgxntSix 技能套件,专为 OpenClaw 智能体打造。
📅 需要为您的业务搭建 OpenClaw? 预约免费咨询