looker / looker-sdk-ruby

Looker SDK for Ruby
Other
39 stars 43 forks source link

Undefined method look or run_look for Looker::Client #79

Closed MiralDesai closed 5 years ago

MiralDesai commented 5 years ago

Hey,

I must be missing something so would like to clarify. I'm following this quick start guide. It says once I create a looker client I can simply call looker.look(<look_id>) to get data back however I am not seeing this.

The method look doesn't exist. Neither does run_look. Is this guide out of date? I ran looker.methods in rails console and can't see them. I only see the usual get post put http methods.

looker.alive returns 200, so that part worked and the path I'm calling is this:

https://<company_name>.eu.looker.com/:19999/api/3.0

Would appreciate being pushed in the right direction. Thanks.

MiralDesai commented 5 years ago

If you're an idiot like me this is the issue:

https://<company_name>.eu.looker.com/:19999/api/3.0

should be https://<company_name>.eu.looker.com:19999/api/3.0

(notice the port)