API request ACD ASR

Is it possible to get statistics on a client’s ACD ASR via API?

Currently that is not available as in Customer Traffic / Vendor Traffic Yeti calculates the Info and then displays it. So it is a trigger based report. But as Yeti is opensource, you can create your own API for ASR / ACD stat with the CDR table in the DB

Calculation for ASR
Successful (answered) Calls / Calls attempts * 100 = ASR

Calculation of ACD
Total duration, seconds (answered calls) / Total number of answered calls