Closed biajoeknee closed 7 years ago
Here's my query:
https://congress.api.sunlightfoundation.com/bills/search?query="lgbtq"&order=introduced_on&fields=cosponsors_count,cosponsors
Here's the results:
{ "results": [ { "bill_id": "hres772-114", "cosponsors_count": 15, "search": { "score": 3.3260274, "type": "bill" } }, { "bill_id": "s2765-114", "cosponsors_count": 15, "search": { "score": 0.1978575, "type": "bill" } }, { "bill_id": "sres399-114", "cosponsors_count": 2, "search": { "score": 0.29858115, "type": "bill" } }, { "bill_id": "hres329-114", "cosponsors_count": 17, "search": { "score": 2.0582209, "type": "bill" } } ], "count": 4, "page": { "count": 4, "per_page": 20, "page": 1 } }
Each bill has multiple cosponsors, yet, none of them are provided in the cosponsors field.
cosponsors
This is actually an issue for the Sunlight API: https://github.com/propublica/congress-api-docs/issues/
Here's my query:
Here's the results:
Each bill has multiple cosponsors, yet, none of them are provided in the
cosponsors
field.