Hi all.
Fairly new to Python so struggling a little here to implement something quite basic. I run a website and want to compute some stats for "most read articles" via our Analytics data. I assume this means I need the Service Accounts type of OAuth since I'm not asking for the user's data, but my own.
I can't seem to find any concrete end-to-end examples in Python to demonstrate how to get this to work. I know I need to create a SignedJwtAssertionCredentials class but I'm not entirely sure how or what I need to do to process this -- almost all of the examples I've seen point to user-based auth, not Service Accounts.
Can anyone give me a more specific idea of what I need to do in order to be able to query this data? I've created an authorised Service Account in the console, added the email address it generated as a user of my Analytics account, and downloaded the private key. What next?!
thanks,
Matt