You have chosen to sponsor your bid up to a maximum amount of .
Google talks about how to do this here: https://developers.google.com/accounts/docs/OAuth2WebServer#offline
I would like PHP code written to do exactly this. Retrieve the necessary token, then use that token to access the API in offline mode. Would like this done within the next couple of hours.