looker

Embed
Preview of the card
<a href="https://hermeticor.com/docs/ref-looker"><img src="https://hermeticor.com/docs/_api/public/orgs/5fcd8b3c-a27c-4688-972f-de710125592f/spaces/caf5dc05-15f7-4e0c-bdb8-ab29ede6211e/pages/783f4b7e-a492-48f3-b356-dbf121a07875/social-card.svg?v=3e7ae33eec8b" alt="looker" width="600" height="315"></a>
GEThttps://hermeticor.com/v1/looker/manifest

Apps Script files (appsscript.json, Code.gs) for the Looker Studio community connector

Code samples

cURL
curl -X GET "https://hermeticor.com/v1/looker/manifest" \
  -H "Authorization: Bearer $HERMETICOR_API_KEY"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Default Response
Example
{
  "appsscript.json": "string",
  "Code.gs": "string"
}
Schema
appsscript.jsonstringrequired
Code.gsstringrequired
4XX Default Response
Example
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  }
}
Schema
errorobjectrequired
Show child parameters
codestringrequired
messagestringrequired
detailsobject
5XX Default Response

Same as 4XX · GET /v1/looker/manifest

GEThttps://hermeticor.com/v1/looker/datasets

Saved reports Looker Studio can use as data sources

Parameters

limitintegerquery
Page size; omitted returns the whole list
cursorstringquery
Opaque: the nextCursor of the previous page

Code samples

cURL
curl -X GET "https://hermeticor.com/v1/looker/datasets" \
  -H "Authorization: Bearer $HERMETICOR_API_KEY"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Default Response
Example
{
  "items": [
    {
      "id": "string",
      "name": "string"
    }
  ],
  "nextCursor": "string"
}
Schema
itemsListsItem[]required
Show child parameters
idstringrequired
namestringrequired
nextCursorstringrequired
4XX Default Response

Same as 4XX · GET /v1/looker/manifest

5XX Default Response

Same as 4XX · GET /v1/looker/manifest

POSThttps://hermeticor.com/v1/looker/schema

Request body

application/json
reportIdstringrequired
{
  "reportId": "string"
}

Code samples

cURL
curl -X POST "https://hermeticor.com/v1/looker/schema" \
  -H "Authorization: Bearer $HERMETICOR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"reportId":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Default Response
Example
{
  "fields": [
    {
      "name": "string",
      "label": "string",
      "dataType": "NUMBER",
      "semantics": {
        "conceptType": "METRIC"
      }
    }
  ]
}
Schema
fieldsFieldsItem4[]required
Show child parameters
namestringrequired
labelstringrequired
dataTypestringrequired
NUMBER | STRING
semanticsobjectrequired
Show child parameters
conceptTypestringrequired
METRIC | DIMENSION
4XX Default Response

Same as 4XX · GET /v1/looker/manifest

5XX Default Response

Same as 4XX · GET /v1/looker/manifest

POSThttps://hermeticor.com/v1/looker/data

Request body

application/json
reportIdstringrequired
fieldsstring[]
= []
fromstring
tostring
{
  "reportId": "string",
  "fields": [],
  "from": "string",
  "to": "string"
}

Code samples

cURL
curl -X POST "https://hermeticor.com/v1/looker/data" \
  -H "Authorization: Bearer $HERMETICOR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"reportId":"string","fields":[],"from":"string","to":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Default Response
Example
{
  "schema": [
    {
      "name": "string",
      "label": "string",
      "dataType": "NUMBER",
      "semantics": {
        "conceptType": "METRIC"
      }
    }
  ],
  "rows": [
    {
      "values": [
        "string"
      ]
    }
  ]
}
Schema
schemaFieldsItem4[]required
Show child parameters
namestringrequired
labelstringrequired
dataTypestringrequired
NUMBER | STRING
semanticsobjectrequired
Show child parameters
conceptTypestringrequired
METRIC | DIMENSION
rowsobject[]required
Show child parameters
valuesstring | number[]required
4XX Default Response

Same as 4XX · GET /v1/looker/manifest

5XX Default Response

Same as 4XX · GET /v1/looker/manifest

Updated