FogBugz counts in Geckoboard
I’ve been playing with Geckoboard the last few nights since we’ve been wanting to build something like that at freshcode. Geckoboard is really neat. The problem is that apparently we’ve bet on all of the wrong horses as far as things it connects to. And so I’m having to build the glue code that can talk to the services we use, and provide a data feed that Geckoboard can read.
Tonight’s task was getting it to connect to FogBugz and get me a count of the number of tickets still open for our upcoming v1.4.0 release of Bodega. You can see the resulting code here:
https://gist.github.com/819975
All you have to do is change the couple variables at the top. Put your search string into $query and it’ll spit out XML that you can put into a Geckoboard custom widget.