Extract data using API2 to excel automatically

Hello

I need to extract all of my cash and bank accounts with their balance to excel automatically

Can anyone help me with the steps that I should follow?