-
Notifications
You must be signed in to change notification settings - Fork 8
Authentication And Connect
Jean-Sébastien Sevestre edited this page Jul 8, 2019
·
6 revisions
Follow step 1 in LumApps Api documentation for clientID authorisation on LumApps
from lumapps_api_client.lib import ApiClient
auth_info = {
"CLIENT_ID" = 'XXX.apps.googleusercontent.com',
"CLIENT_SECRET" = 'YYY',
"REFRESH_TOKEN" = 'ZZZ'
}
# or
auth_info = "service_account.json content"
api = ApiClient(auth_info=auth_info)
Find more in Authentication with service discovery