Use these handy functions to find congessional targets by zip code. AND optionally filter those members by setting:
- A target chamber - e.g.
House
orSenate
- A target party - e.g.
D
orR
- A list of target senators - either an array of names
["Ted Cruz","Mitch McConnell"]
, twitter handles["SenTedCruz","McConnellPress"]
, or Bioguide IDs["B001282","C001098"]
Will return an empty Sunglight API Call { results: [ ], count: 0 }
if there are no results after the filter.