Python implementation of the 3taps Reference API