How much time am I on call?
Percentage oncall for all users in last 60 days
./total_oncall_time.py --schedule <schedule> --api-token <token> --start 60 --stop 0
Example Output
Total Minutes: 86400
[email protected]: 42.69%
[email protected]: 26.66%
[email protected]: 26.60%
[email protected]: 3.45%
[email protected]: 0.49%
[email protected]: 0.03%
Details: https://developer.pagerduty.com/v2/page/api-reference#!/On-Calls/get_oncalls