Get Total Sales Report using python

Hello everyone,

I’m trying to download the Total Sales report using python. Has anyone done that before and can provide me an example python code?

Thank you very much!