Fetching State Legislator's Data

106 views
Skip to first unread message

Fel Pabustan

unread,
Feb 3, 2022, 12:10:39 AM2/3/22
to Google Civic Information API
Hi, 

I'm currently working on a project that uses this api(Google Civic Info API) and just wanted to know how fetch the data of the state legislators. I've tested the api and it returned senators and the congressmen, now I want to get also the state legislator's information. Can anyone help? Am I missing something or doing anything wrong?

Sudipta Chatterjee

unread,
Feb 3, 2022, 4:29:04 AM2/3/22
to google-civ...@googlegroups.com
Hi Fel,

 Do you have a specific example or address where this isn't doing what you want? The representativeInfoQuery example returns for all these positions:

      "name": "President of the United States",
      "name": "Vice President of the United States",
      "name": "U.S. Senator",
      "name": "U.S. Representative",
      "name": "Governor of Kansas",
      "name": "Lieutenant Governor of Kansas",
      "name": "KS State Treasurer",
      "name": "KS Attorney General",
      "name": "KS Insurance Commissioner",
      "name": "KS Secretary of State",
      "name": "KS State Senator",
      "name": "KS State Representative",
      "name": "KS State Supreme Court Justice",
      "name": "Mayor of Wyandotte County-Kansas City Unified Government/CEO",
      "name": "Wyandotte County-Kansas City Unified Government District Attorney",
      "name": "Wyandotte County-Kansas City Unified Government Register of Deeds",
      "name": "Wyandotte County-Kansas City Unified Government Sheriff",
      "name": "Wyandotte County-Kansas City Unified Government Commissioner",
      "name": "Wyandotte County-Kansas City Unified Government Commissioner",

Hope that helps!
- Sudipta



On Wed, Feb 2, 2022 at 9:10 PM Fel Pabustan <fel.pa...@myndconsulting.com> wrote:
Hi, 

I'm currently working on a project that uses this api(Google Civic Info API) and just wanted to know how fetch the data of the state legislators. I've tested the api and it returned senators and the congressmen, now I want to get also the state legislator's information. Can anyone help? Am I missing something or doing anything wrong?

--
You received this message because you are subscribed to the Google Groups "Google Civic Information API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-civicinfo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-civicinfo-api/4095240c-c857-4a3a-a4c3-cbdcd5a04ca5n%40googlegroups.com.

Fel Pabustan

unread,
Feb 3, 2022, 5:42:19 AM2/3/22
to google-civ...@googlegroups.com
Hi Sudipta, 

When I use the request representativeInfoByAddress using an 146 Evergreen St. Jesup, GA 31546 what roles should I include in the request to get the state legislators other than the federal legislators in the upper and lower body? 

Hope you can enlighten me on this.

Thanks, 
Fel 

Fel Pabustan

unread,
Feb 8, 2022, 1:19:50 AM2/8/22
to google-civ...@googlegroups.com
Good day Sudipta, 

May I ask how I can get the state representatives(upper and lower house) using a specific address? 

Thanks,
Fel
Reply all
Reply to author
Forward
0 new messages