lino_xl.lib.google

This is Lino's module to make synchronization with Google's content. See google : Synchronization with Google.

Classes

Plugin(site, app_label, app_name, ...)

See lino.core.plugin.Plugin.

class lino_xl.lib.google.Plugin(site, app_label, app_name, app_module, needed_by, configs: dict)

Bases: Plugin

See lino.core.plugin.Plugin.

client_secret_file = PosixPath('/home/luc/lino/client_secret.json')

The path to the GoogleAPI secret file.

scopes = ['https://www.googleapis.com/auth/userinfo.profile', 'https://www.googleapis.com/auth/userinfo.email', 'https://www.googleapis.com/auth/contacts', 'https://www.googleapis.com/auth/user.addresses.read', 'https://www.googleapis.com/auth/user.birthday.read', 'https://www.googleapis.com/auth/user.gender.read', 'https://www.googleapis.com/auth/user.phonenumbers.read', 'https://www.googleapis.com/auth/calendar', 'https://www.googleapis.com/auth/calendar.events']

GoogleAPi Scopes

After modifying these scopes, delete all database entry for this provider and reauthenticate.

application_name = 'LinoOAuthClient'

The Application's name defined in the google API Console