Looker API introduction
Last updated
Last updated
This is a simple example which prints out all available dashboards.
To run copy sanitizied.ini
to looker.ini
and then fill in client_id
and client_secret
.
This example connects to Looker and prints out the title and id
of every dashboard your account can access.
import looker_sdk
sdk = looker_sdk.init40("../looker.ini")
boards = sdk.all_dashboards()
for board in boards:
print(str(board.title) + ' , ' + str(board.id))