Skip to content

Authentication And Connect

Jean-Sébastien Sevestre edited this page Jul 8, 2019 · 6 revisions

Getting the credentials

Follow step 1 in LumApps Api documentation for clientID authorisation on LumApps

Authentication using the Lumapps API Client with a refresh token

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)

Authentication using Low level Google Service Disovery

Find more in Authentication with service discovery

Clone this wiki locally