Using ScreenTime / familyControl

Hello, I want to make a simple project that simply displays the user's current daily ScreenTime.

I believe you may be able to do the functionality I want with: FamilyControls or ScreenTime. I believe that you may need to pay for the paid developer account in order to access the FamilyControl framework.

I am having trouble finding guidance as to how I would do this as most reddit/stackoverflow posts are incomplete with answers and I cannot find demos/code examples/tutorials/sample usage anywhere on google.

I would greatly appreciate any help and guidance. If the solution requires the paid developer tier, I am fine with that. Thank you in advance