Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BillStatus missing for bills from congress sessions 107 and older #152

Open
alenafirefly opened this issue Apr 23, 2024 · 1 comment
Open
Assignees

Comments

@alenafirefly
Copy link

For bills from congress sessions 107 and older:

  1. GET https://api.govinfo.gov/packages/{packageId}/summary response is missing related/billStatusLink field. For comparison:
    https://api.govinfo.gov/packages/BILLS-110hr2669rh/summary?api_key=DEMO_KEY - billStatusLink present
    https://api.govinfo.gov/packages/BILLS-103hconres190eas/summary?api_key=DEMO_KEY - no billStatusLink

  2. billStatusLink constructed manually using ones for session 108 and newer as example, return 404 for session 107 and older. For comparison:
    https://www.govinfo.gov/bulkdata/BILLSTATUS/111/hr/BILLSTATUS-111hr73.xml - available
    https://www.govinfo.gov/bulkdata/BILLSTATUS/107/hr/BILLS-107hr2646.xml - 404

  3. BILLSTATUS relationshipLink returned from GET https://api.govinfo.gov/related/{packageId} is broken for bills from congress session 107 and older. For comparision:
    https://api.govinfo.gov/related/BILLS-110hr2669rh/BILLSTATUS?api_key=DEMO_KEY - available
    https://api.govinfo.gov/related/BILLS-103hconres190eas/BILLSTATUS?api_key=DEMO_KEY - returns the following error:
    {"message":"Oops, Something went wrong, Please contact govinfo team for further assistance"}

@llaplant
Copy link
Member

Hi, bill status XML files are only available on GovInfo back to the 108th Congress. This is why it is not returned via the API.
https://www.govinfo.gov/bulkdata/BILLSTATUS

@llaplant llaplant self-assigned this Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants