Question

'httr' Looker API Documentation

  • 20 December 2021
  • 1 reply
  • 23 views

Is there any documentation on accessing the Looker API with the ‘httr’ R package?  I need to access a Looker instance that someone has setup and have been using LookR but that package really isn’t maintained.


This topic has been closed for comments

1 reply

I get a 200 response with this but I’m not seeing an authorization token anywhere.

 

get_req <- GET(
Sys.getenv('looker_link'),
add_headers(
"client_id" = Sys.getenv("looker_client_id"),
"client_secret" = Sys.getenv("looker_api_key")
)
)