How to get cpu hours and memory hours from opennebula5.0.2 through xml rpc?

How to get cpu hours and memory hours from opennebula5.0.2 through xml rpc?

Hi,
if I’m not wrong you can get that info using the oneacct command line and export the results in xml, csv or json so I’d start using the one.vmpool.accounting method explained here and the oneacct usage info here

Sorry I’ve no sample to provide.

Cheers!