Calling Cube REST API from Python