Background: The DC government is exposing an API for their 311 call center, to allow application developers to build open source tools to make it easier for citizens to submit issues. As part of it, they and iStrategyLabs have launched a second Apps for Democracy contest. The creative juices are flowing, and I have a few ideas I plan on implementing.
But first things first… in order to make it even easier for myself and for other developers, I built out a ruby gem that interacts with the Open311 and Geolocation API. I know I’m helping out my competition, but it’s all for the better good, right? Here you go:
You can also grab it from github: http://github.com/skeevis/dcgov/tree/master
Download and install it, and you should be set. It’s fully tested using rspec, so just open up the spec folder and you’ll be able to exavtly how it works. I’ll eventually add this to rubyforge, but for now you can take the extra step 🙂
DC OCTO has a ways to go. The API is supposed to launch on July 1st, but they certainly have a lot more to do with the API, both in terms of development and documentation. The Geolocation API seems to be pretty solid. The 311 API has unimplemented (stubbed) functions, spelling mistakes in variable names, no error handling, and no documentation (the “submit” function, the most important, is a total mystery). It’s too bad that people will find this when they head to the CodeJam over the weekend, but oh well.
Good luck to everyone else!