I’m using the swagger-built SDK for python. I was able to get the authorization step to work well enough to get the access token, but so far the only command I’ve been able to execute with it was a simple curl GET for ‘user’, which is not what I want. What I want is to get the data from a look.
I’m trying to do something like this, where the api_client object has the access token in the default_headers:
connect = looker.LookApi(api_client=api_client)
look_id=00000 #actual number redacted
connect.look(look_id=look_id)
but I keep getting a ‘requires authorization’ error, even though the docs say ‘No authorization required’ (which clearly makes no sense, since our instance is behind a ton of security).
What would really help a lot would be better instructions and docstrings. I can’t find any information about how the API should be used, and the docstrings are not particularly helpful re: content or format of expected args.