Python class for Ripple API