This is a swagger generated Looker API client for Python 2 and 3.
Python 2.7 or later.
python setup.py install
Swagger definitions can be exported from Looker directly via these instructions.
The API can be generated via the following steps:
- Checkout swagger-codegen from https://github.com/swagger-api/swagger-codegen with tags/v2.1.6
- Run the following command, noting the position of the exported lookerapi.json file:
java -jar ./swagger-codegen/modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate -i lookerapi.json -l python -o python_sdk
- Move the python_sdk/swagger_client to looker and modify the related setup.py accordingly.
Further information is available on Looker's discussion forum.