Authentication And Connect - lumapps/lumapps-sdk GitHub Wiki
Follow step 1 in LumApps Api documentation for clientID authorization on LumApps
from lumapps import client
auth_info = {
"CLIENT_ID": 'XXX.apps.googleusercontent.com',
"CLIENT_SECRET": 'YYY',
"REFRESH_TOKEN": 'ZZZ'
}
# or
auth_info = "a service_account.json content"
api = client.ApiClient(auth_info=auth_info)You may need to set the base url depending on which environment you are :
api_info = {"base_url": "https://sites-ms.lumapps.com"})
api = client(
auth_info=auth_info,
api_info=api_info)Find more in Authentication with service discovery