space time cube api using python