ChainArgos
API
API
  • 🔌api-demos
  • Basic google-sheet-pivot-table-based gueries
    • 🦮API walkthrough
    • 🎬Basic ETL demo
    • 🎰Compute statistics on YGG flows
  • More complex Looker API queries
    • Looker API introduction
    • Downloading a look to pandas
    • Ethereum address inflows
    • Running a look via API
    • Running a look with several filters via API
  • Research
    • How empty are Heco blocks these days?
    • Tether minting vs BTC price
    • Wallet evaluation
Powered by GitBook
On this page
  1. More complex Looker API queries

Looker API introduction

PreviousMore complex Looker API queriesNextDownloading a look to pandas

Last updated 1 year ago

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.

https://github.com/ChainArgos/api-demos/blob/main/looker/looker_api_basic/conn_test.py
import looker_sdk
sdk = looker_sdk.init40("../looker.ini")
boards = sdk.all_dashboards()
for board in boards:
    print(str(board.title) + ' , ' + str(board.id))