Wordpress get spaceapi json and display open/closed status