[Feature-2684]Scripting - Tag group - Create / Delete

Is this the only way (or at least the best/easiest way) to get a list of tag groups?