A Python interface for the BTN API