XF 2.2 Is it possible to import data to google sheets?


I was wondering if it's possible to import data from your forum to google sheets. I would like to import
data like for instance:
-Number of threads created
-Number of posts created
-Number of member registrations
-Number of logins/revisits per member

I know some data can be grabbed from google analytics but is there also a way to import other data from
the forum(backend for instance) to google sheets?

So from xenforo to google sheets. Not the other way around.

Thanks a lot,