Parental Control MacOS

Hello there.

The Macs from my children are Time Limited throug Parental Control from MacOs.
Now i am writing an Menu Bar App in ASOC where they can ask for more time and i can allow this from my iphone.

I already found the plist to edit the time Limits:

“/Library/Managed Preferences/” & User & “/com.apple.familycontrols.timelimits.v2.plist”

but i must finde a way to get the remaing time from terminal. Or any other way which i can use in AppleScript ObjC…

Where can i found a documentation, or where is the remaing time stored?

The only way to see the time is right click under the clock but i need the time in my programm.

can anybody help?

thanks
sgiove