A C API that accesses both MtGox and BTC-E's  Bitcoin ticker