Attached bash script is able to retrieve the list of project, folders, flows.... Just check on how to use ARD APIs.
Attachment(s)