Re:Tell congress to stop SOPA with a physical letter
by colevscode on Tuesday November 15, 2011 @07:16PM
(#3241041)
Would love to do that. We wanted to get this out the door quickly. If it is popular we'll see about improving the UI. Thanks!
Re:Tell congress to stop SOPA with a physical letter
by danielsoneg on Tuesday November 15, 2011 @07:26PM
(#3241068)
Sunlight Labs has an API that'll do it by zip code:
http://services.sunlightlabs.com/docs/Sunlight_Congress_API/
They've got libraries for Ruby, Python, and even PHP, and the interface is drop-dead simple. Definitely worth a look - I'm baking them into one of my projects right now.
Re:Tell congress to stop SOPA with a physical letter
by colevscode on Tuesday November 15, 2011 @07:29PM
(#3241080)
This could have saved us a lot of time. Thanks!
Re:Tell congress to stop SOPA with a physical letter
by chimeracoder on Tuesday November 15, 2011 @09:20PM
(#3241428)
This is amazing. Some years ago, I wanted to build a site that did essentially the same thing (but for a different issue), and this API either didn't exist or wasn't complete/accurate enough. It's remarkable how much power the web has to effect political change - seems like we're only seeing the beginning of it.
...that is, unless SOPA passes, in which case this may be as good as it gets....
One suggestion: since you ask for the sender's home address anyway, why not use that to scrape the contactcongress website to automatically fill in their representatives?