Skip to content

[V5] openbb-congress-gov: Refactor for V5 + Convert To Using Bulk Files Instead of api.congress.gov.#7528

Merged
deeleeramone merged 5 commits into
v5from
feature/v5-congress-gov
Jun 8, 2026
Merged

[V5] openbb-congress-gov: Refactor for V5 + Convert To Using Bulk Files Instead of api.congress.gov.#7528
deeleeramone merged 5 commits into
v5from
feature/v5-congress-gov

Conversation

@deeleeramone

Copy link
Copy Markdown
Contributor

This PR refactors the openbb-congress-gov for V5 ODP.

Implementation Changes

  • No longer requires an API key, all data is consumed from bulk file downloads and the gov-info link service.
  • Adds coverage for Laws, Congressionally-Mandated Reports, Members + votes, and broad search.
  • App now has 27 widgets across 8 tabs, including several "how to use" markdown widgets.

Open question, @piiq, should we consolidate this extension to be a module within openbb-government-us, while keeping all the imports the same?

Endpoints

/uscongress
    amendment_info
    amendment_text
    amendments
    bill_info
    bill_text
    bills
    calendars
    committee_documents
    committee_info
    laws
    mandated_reports
    member_legislation
    member_votes
    members
    search
Screenshot 2026-06-05 at 8 54 19 AM Screenshot 2026-06-05 at 9 03 27 AM

@deeleeramone deeleeramone added refactor Refactor code platform OpenBB Platform extensions Extension-related V5 PRs and issues for ODP V5 labels Jun 5, 2026
@deeleeramone deeleeramone changed the base branch from develop to v5 June 5, 2026 16:05
@deeleeramone deeleeramone changed the title Feature/v5 congress gov [V5] openbb-congress-gov: Refactor for V5 + Convert To Using Bulk Files Instead of api.congress.gov. Jun 5, 2026
@deeleeramone deeleeramone mentioned this pull request Jun 5, 2026
@piiq

piiq commented Jun 8, 2026

Copy link
Copy Markdown
Member

@deeleeramone iiuc the goventment-us provider does not currently require any api keys, while the congress one does. if that's the case i would keep them separate so that the goventment-us provider can stay reliant on a public apis that don't require authentication.

on the other hand i do understand why you would want to consolidate them. it's your call. i'm fine with both of the options

@deeleeramone

Copy link
Copy Markdown
Contributor Author

@deeleeramone iiuc the goventment-us provider does not currently require any api keys, while the congress one does.

This PR removes all requirements for an API key, it reads from bulk data files and the govInfo link service, which does not require authentication.

@piiq

piiq commented Jun 8, 2026

Copy link
Copy Markdown
Member

so my understanding was not correct. in this case yes - it makes a lot of sense to merge them in the government-us provider

@deeleeramone deeleeramone merged commit 85d9ed5 into v5 Jun 8, 2026
21 checks passed
@deeleeramone deeleeramone deleted the feature/v5-congress-gov branch June 8, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions Extension-related platform OpenBB Platform refactor Refactor code V5 PRs and issues for ODP V5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants