Add following lines to your Polybar configfile:
[module/labstatus] type = custom/script exec = ~/bin/SpaceApiCli.py interval = 300 click-middle = ~/bin/SpaceApiCli.py click-right = ~/bin/SpaceApiCli.py -w
Deleting the wiki page "Home" cannot be undone. Continue?