Initialize Looker SDK without looker.ini and environment variables

I am looking to use looker-sdk within a web service. As far as I can tell at the moment, to initialize the Looker SDK, either environment variables or `looker.ini` must be used. However, if I have a different clients connecting to my web service with their own looker credentials, I’m don’t think environment variables would suffice. Maybe I can create temporary environment variables or temporary `looker.ini ` files but I’m worried about possible conflicts 

Was wondering if there is a way to initialize a looker SDK instance by simply passing in the required parameters instead of `looker-ini` or environment variables

Solved Solved
0 1 1,325
1 ACCEPTED SOLUTION

I found my solution from the docs. Missed it initially. The solution to my problem can be found here in the `MyApiSettings` example

View solution in original post

1 REPLY 1

I found my solution from the docs. Missed it initially. The solution to my problem can be found here in the `MyApiSettings` example