API for app analytics ?

I would like to get the download and removal statistics of one of our published app.I couldn't find any relevant api documentation which exposes the app analytics. Is there a way to get these metrics using the appstore connect api ? Can someone please guide me with an example if possible ?