custom sales channel app - how do I get total product sales $ ?

I’m making a custom sales channel app. I was wondering if there was a way to get the total product sales on my sales channel for a given store? What kind of api or admin client call needs to be made?