You can either use the CLI, obtain an XML file and then parse it:
Or use the Audit Reports features, available from Admin Console:
I believe the latter is much easier and straightforward. Moreover, you can export the information in different formats (i.e. pdf, csv).
from which database do you want to extract this information?
From a domain repository (as suggested by Paolo)?
From some other Oracle DBMS?