I'm very happy with this answer https://stackoverflow.com/a/8548319/641264 because thanks to it, now I understand well difference between access token and refresh token. I also throwed a glance at the OAuth2WebSercer documentation https://developers.google.com/accounts/docs/OAuth2WebServer But I don't know the functions/methods that can be used to work with refresh token. For access token, we use:
gdata.gauth.ae_save()
gdata.gauth.ae_load()
token.get_access_token()
But what about refresh token?