3 ms·
What's the source of the data once an address is submitted? I tried to do a similar project during a hackathon and all of the APIs I found were either dead or i
by wishinghand 10y ago
What's the source of the data once an address is submitted? I tried to do a similar project during a hackathon and all of the APIs I found were either dead or insufficient.
- dyscrete 10y agoMy guess is it uses geolocation APIs to match city to politicians in your district. Maybe even looks up politicians phone numbers by area codes that belong to those cities. This is just a theory of course.
- Stratoscope 10y agoOne API for this is Google's Civic Information API: https://developers.google.com/civic-information/ https://developers.google.com/civic-information/ The API has a representativeInfoQuery to list your elected representatives, and a voterInfoQuery for current election information. Details and examples are here: https://developers.google.com/civic-information/docs/using_api https://developers.google.com/civic-information/docs/using_a... And this page discusses the quality and limitations of the data: https://developers.google.com/civic-information/docs/data_guidelines https://developers.google.com/civic-information/docs/data_gu...