How to bp_groups_get_group_types

Hi. I'm not sure in WPMUDEV team can help me with this but I'm asking anyways, since you guys always help out in a great way.

My issue concerns the new buddypress API bp_groups_get_group_types which allows to register group types as a taxonomy.

I can't figure out how to show the group type of a specific group within
groups-loop.php
in the bp-default theme (of which i'm using a child theme).

More specifically, I would like to use those values in order to give a different html class to each group link, as to have a color coded visual markup, just like you would give different posts different colors according to their category.

help me out ? pleaaase. Since this feature is new I can't seem to find any info online