congress-api-docs
congress-api-docs copied to clipboard
"Get Cosponsors for a Specific Bill" data structure change?
re: HTTP Request - GET https://api.propublica.org/congress/v1/{congress}/bills/{bill-id}/cosponsors.json
i.e. the endpoint described on this page of the documentation
It seems the API was down yesterday for several hours while changes were being made. Now it seems the "results" key-value of the return JSON object is wrapped in an array when previously it was not? were any other similar changes made? Is there an official source of information where these types of things are announced? Today my app was broken until I figured out I needed to destructure the return object.
Thanks for everything you all do, this is an invaluable service!