Here is a usecase I would like to solve programmatically.
I have a long list of locations, each with a dedicated subnet used for network devices. For each location, I would like to have a named subgroup, set the group type to auto-discovery, and define it's subnet address/mask.
This way, I could populate the whole infrastructure with corresponding sensors using only location name + subnet/mask.
I have tried to solve this by using https://github.com/lordmilko/PrtgAPI, but haven't found a way to set subnet/mask property on a group.