Looker

Business intelligence

Go to site
Explore
/
Apps
/
Looker

Looker API Integrations

Build and run workflows using the Looker API. Use 1000s of source-available triggers and actions across 1000+ apps. Or write custom code to integrate any app or API in seconds.

Overview

With Looker, you can easily build performant, dynamic applications that look great and provide value to your users. Here are some examples of what you can build using the Looker API:

  • A data exploration tool that lets users quickly and easily find the data they need
  • A reporting application that automatically generates reports based on user-defined criteria
  • An analytics dashboard that gives users insights into their data in real-time
  • A data visualization tool that makes it easy to understand complex data sets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    looker: {
      type: "app",
      app: "looker",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `${this.looker.$auth.looker_base_url}/api/4.0/user`,
      headers: {
        "Authorization": `token ${this.looker.$auth.oauth_access_token}`,
      },
    })
  },
})

Authentication

Looker uses OAuth authentication. When you connect your Looker account, Pipedream will open a popup window where you can sign into Looker and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Looker API.

Pipedream requests the following authorization scopes when you connect your account:

OAuth Request Configurations:
  1. accessToken
    POST{{custom_fields.looker_base_url}}/api/4.0/logincontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{custom_fields.client_id}}&client_secret={{custom_fields.client_secret}}
  2. refreshToken
    POST{{custom_fields.looker_base_url}}/api/4.0/logincontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{custom_fields.client_id}}&client_secret={{custom_fields.client_secret}}