Skip to content

Authentication And Connect

js.sevestre edited this page Sep 13, 2019 · 6 revisions

Getting the credentials

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

Authentication using the Lumapps API Client with a refresh token

from lumapps.client import ApiClient

auth_info = {
"CLIENT_ID": 'XXX.apps.googleusercontent.com',
"CLIENT_SECRET": 'YYY',
"REFRESH_TOKEN": 'ZZZ'
}
# or
auth_info = "a 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