Posted by IrishGringo on January 14, 2009 at 5:09am
I am a semi nuwbie... and I thin that this is a multistep quesiton.
does anyone know of a way that, based on zip code, there is a service that will return a list of congressional representatives, ideally in some kind of xml format?
second question, what would be the best strategy to do this kind of thing? which modules would I be using?
Finally, I want to automatically update some fields after the zip code has been entered. this information would then become part of an accounts profile ( as a separate node ).
Comments
i found this link...
http://whoismyrepresentative.com/api
it seems to give me what I want, and it can be restful. problem is that I have never done restful stuff before. could someone give me a hint on how to do this? which modules?
also, If i want to maintain this information locally in my database, how would that be done?
Not a small undertaking
But, here are some possible places to start:
http://services.sunlightlabs.com/api/
http://drupal.org/project/legislature
http://drupal.org/project/uscongress
Cheers,
Bill
-------
http://www.funnymonkey.com
Click. Connect. Learn.
Using Drupal in Education
-------
http://www.funnymonkey.com
Click. Connect. Learn.
Using Drupal in Education