I'm trying to understand and use the example on the Google Developers page for using the Gmail API. The function takes an argument "service", but I am unsure what it expects here.
def SendMessage(service, user_id, message):
Everything else seems self explanatory but I need help on what to provide for the service variable?
The comment given within the example defines "service" as "service: Authorized Gmail API service instance." Which unfortunately still doesn't help me.
I'm not new to Python, but I am new to using APIs.