Answers.Body: <p>The <a href="https://github.com/josephlacey/com.jlacey.electoral" rel="nofollow noreferrer">Electoral API</a> extension is what you're looking for.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-26T23:17:59.223Z
Answers.Text: Hey Jon, what's the status on this extension? Thanks...
Answers.UserDisplayName: jimcrist
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-25T19:23:46.370Z
Answers.Text: @jimcrist See the link above - this got overhauled last year with support for new APIs and new functionality.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-25T23:24:43.877Z
Answers.Text: Hi Jon.  Yes, sadly I can't get V2 to work.  Please see: https://github.com/josephlacey/com.jlacey.electoral/issues/7.  Any help would be greatly appreciated!!!
Answers.UserDisplayName: jimcrist
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-28T17:25:12.947Z
Answers.Text: Hey Jon, any progress on this? thanks...jim
Answers.UserDisplayName: jimcrist
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-28T22:13:34.463Z
Answers.Text: Hi Jim - Any day now, we need to squelch a few pre-beta bugs and write initial documentation!  If you're really itching for it...http://git.palantetech.coop/palante/civicrm/extensions/coop.palantetech.electoral/
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2015-06-19T20:06:18.973Z
Answers.LastActivityDate: 2019-06-25T19:23:23.647Z
Answers.LastEditDate: 2019-06-25T19:23:23.647Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.Body: <p>Jim, what org are you with, are you on VAN, and involved with a civic engagement table? If so send me a private message. Also check out Progressive Technology Project's implementation of Cicero. See
  <a href="http://network.progressivetech.org/node/975" rel="nofollow">http://network.progressivetech.org/node/975</a> </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-22T15:36:50.560Z
Answers.Text: The Cicero extension is Drupal-only, unfortunately.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-22T15:43:32.960Z
Answers.Text: It's a new non-partisan, grassroots organization. We're not on VAN.
Answers.UserDisplayName: jimcrist
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-21T13:54:16.660Z
Answers.LastActivityDate: 2015-06-21T13:54:16.660Z
Answers.UserDisplayName: Joe McLaughlin
Answers.Body: <p>What is everyone doing now that Sunlight's API is dead? OpenStates has one that is active, but I'm not familiar with how to link into it. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-17T15:20:55.230Z
Answers.Text: I need to know too...we need this extension! It used to work, but now, when I run the process to add state representative districts to contacts, I get:
  
  Warning: Invalid argument supplied for foreach() in /home/scwmta/wiuta.org/wp-content/civicrm/extensions/electoral/api/v3/SfOpenStates.php on line 303
  
  I found this article, which indicates the API is still working:
  
  https://www.propublica.org/nerds/item/sunlight-labs-takeover-update
  
  I have a Sunlight API key. Jon Goldberg has left Palante Tech, but Joseph Lacey is the Project Manager https://hq.palantetech.coop/users/5
Answers.UserDisplayName: jimcrist
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-23T18:46:09.947Z
Answers.LastActivityDate: 2017-01-23T18:46:09.947Z
Answers.UserDisplayName: dahifi
Body: <p>I've been using CiviCRM for WordPress for a few months now. We need to be able to populate both state and federal district fields. I found some relevant links.</p>
  
  <p><a href="https://civicrm.org/extensions/civicrm-congressional-districts-module" rel="nofollow">https://civicrm.org/extensions/civicrm-congressional-districts-module</a>
  <a href="https://developers.google.com/civic-information/" rel="nofollow">https://developers.google.com/civic-information/</a></p>
  
  <p>Sounds like there are extensions out there but all for Drupal? Please tell me there's one for WordPress???</p>
  
  <p>I've been a geek all my life, but never got into web-based programming or PHP. </p>
  
  <p>Thanks much...Jim</p>
  
Tags: <wordpress><extension>
Title: Need Legislative District Lookups for CiviCRM/WordPress
ThreadText: # Need Legislative District Lookups for CiviCRM/WordPress
  
  (Asked by: username_0 on 2015-06-19)
  
  I've been using CiviCRM for WordPress for a few months now. We need to be able to populate both state and federal district fields. I found some relevant links.
  
  <https://civicrm.org/extensions/civicrm-congressional-districts-module>
  <https://developers.google.com/civic-information/>
  
  Sounds like there are extensions out there but all for Drupal? Please tell me there's one for WordPress???
  
  I've been a geek all my life, but never got into web-based programming or PHP.
  
  Thanks much...Jim
  
  **Tags:** wordpress, extension
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2015-06-19. Score: 8
  
  The [Electoral API](https://github.com/josephlacey/com.jlacey.electoral) extension is what you're looking for.
  
  > **Comments:**
  > **username_0**: Hey Jon, any progress on this? thanks...jim  
  > **username_1**: Hi Jim - Any day now, we need to squelch a few pre-beta bugs and write initial documentation!  If you're really itching for it...http://git.palantetech.coop/palante/civicrm/extensions/coop.palantetech.electoral/  
  > **username_0**: Hey Jon, what's the status on this extension? Thanks...  
  > **username_1**: @username_0 See the link above - this got overhauled last year with support for new APIs and new functionality.  
  > **username_0**: Hi Jon.  Yes, sadly I can't get V2 to work.  Please see: https://github.com/josephlacey/com.jlacey.electoral/issues/7.  Any help would be greatly appreciated!!!  
  
  ---
  
  ### Answer by username_2 on 2015-06-21. Score: 1
  
  Jim, what org are you with, are you on VAN, and involved with a civic engagement table? If so send me a private message. Also check out Progressive Technology Project's implementation of Cicero. See
  <http://network.progressivetech.org/node/975>
  
  > **Comments:**
  > **username_1**: The Cicero extension is Drupal-only, unfortunately.  
  > **username_0**: It's a new non-partisan, grassroots organization. We're not on VAN.  
  
  ---
  
  ### Answer by username_3 on 2017-01-23. Score: 0
  
  What is everyone doing now that Sunlight's API is dead? OpenStates has one that is active, but I'm not familiar with how to link into it.
  
  > **Comments:**
  > **username_0**: I need to know too...we need this extension! It used to work, but now, when I run the process to add state representative districts to contacts, I get:  Warning: Invalid argument supplied for foreach() in /home/scwmta/wiuta.org/wp-content/civicrm/extensions/electoral/api/v3/SfOpenStates.php on line 303  I found this article, which indicates the API is still working:  https://www.propublica.org/nerds/item/sunlight-labs-takeover-update  I have a Sunlight API key. Jon Goldberg has left Palante username_1, but Joseph Lacey is the Project Manager https://hq.palantetech.coop/users/5  
  
  ---
  
  