{"id":18975000,"url":"https://github.com/bufferapp/pylooker","last_synced_at":"2025-04-19T16:44:36.563Z","repository":{"id":62581494,"uuid":"89690539","full_name":"bufferapp/pylooker","owner":"bufferapp","description":"A Python interface to Looker API","archived":false,"fork":false,"pushed_at":"2018-06-21T12:10:14.000Z","size":13,"stargazers_count":15,"open_issues_count":1,"forks_count":5,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-29T10:23:52.212Z","etag":null,"topics":["looker"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bufferapp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-28T09:25:51.000Z","updated_at":"2024-11-15T02:21:13.000Z","dependencies_parsed_at":"2022-11-03T21:30:33.314Z","dependency_job_id":null,"html_url":"https://github.com/bufferapp/pylooker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2Fpylooker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2Fpylooker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2Fpylooker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2Fpylooker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bufferapp","download_url":"https://codeload.github.com/bufferapp/pylooker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249223962,"owners_count":21232842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["looker"],"created_at":"2024-11-08T15:16:56.390Z","updated_at":"2025-04-16T09:34:24.866Z","avatar_url":"https://github.com/bufferapp.png","language":"Python","readme":"# PyLooker\n\n[![Build Status](https://travis-ci.org/bufferapp/pylooker.svg?branch=master)](https://travis-ci.org/bufferapp/pylooker)\n\nA basic Python interface to [Looker API][looker-api].\n\n## Installation\n\nYou can use `pip` to install PyLooker.\n\n```bash\npip install pylooker\n```\n\nIf you prefer, you can clone it and run the setup.py file. Use the following\ncommands to install PyLooker from Github:\n\n```bash\ngit clone https://github.com/bufferapp/pylooker\ncd pylooker\npython setup.py install\n```\n\n## Basic Usage\n\nTo use PyLooker you'll need to get the `client_id` and `client_secret` pair for\nyour Looker user. You can request these to your Looker admin as stated in the\n[Looker documentation][docs].\n\n```python\nfrom pylooker.client import LookerClient\n\napi_endpoint = 'https://looker.company.com:19999/api/3.0/'\nclient_id = 'your-client-id'\nclient_secret = 'your-client-secret'\nlc = LookerClient(api_endpoint, client_id, client_secret)\n\nlook_data = lc.run_look(1234)\nquery_data = lc.run_query('5A0lg9e7U7SNN8fquk0JKz')\n```\n\nThe JSON results can be converted to a Pandas Dataframe:\n\n```python\nimport pandas as pd\ndf = pd.DataFrame(query_data)\n```\n\n[looker-api]: https://looker.com/docs/reference/api-and-integration\n[docs]: https://looker.com/docs/reference/api-and-integration/api-auth\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbufferapp%2Fpylooker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbufferapp%2Fpylooker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbufferapp%2Fpylooker/lists"}