swap out api call to get_spacestatus() func
better err handling