api.congress.gov icon indicating copy to clipboard operation
api.congress.gov copied to clipboard

Floor Status

Open chrisgilldc opened this issue 2 years ago • 5 comments

Good afternoon. I'm looking for a way to get current floor status for the chambers. This appears on the congress.gov webpage, but isn't exposed through the API. Having a simple "/floor_status" endpoint to return something like '{ "house": "convened", "senate": "adjourned"}' would be a nice convenience. Including the additional data the website has one adjournment time, convening time and next convening would be nice but not essential, that can be gotten from the chambers' legislative calendars. It's (close to) real time status that's hard to find. Thanks!

chrisgilldc avatar Oct 31 '23 17:10 chrisgilldc

Hello. Thank you for your suggestion. We will investigate opportunities to provide a simple endpoint.

rbram avatar Nov 01 '23 00:11 rbram

Just to add a note: there is "in session" data in the House and Senate from which this could be provided.

If you look at the House.gov website, there appears to be a call to https://in-session.house.gov that returns 0 or 1 (i.e. yes or no). Here is a screen shot of the code on the House's website:

image

This likely is maintained by the House Clerk. You could connect with them to provide this information.

It is likely there is a similar element for the Senate webpage, which includes an element when the Senate floor is in session. Contacting the webmaster for the Senate website may reveal a similar call.

DanielSchuman avatar Jan 04 '24 17:01 DanielSchuman

Daniel, hadn't clocked that, thank you for pointing it out. I'll certainly give that a shot when I have time to get back to my project. Thanks!

chrisgilldc avatar Jan 23 '24 20:01 chrisgilldc