1.3.0 • Published 3 months ago

@service-unit-469/looker-downloader v1.3.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 months ago

License Quality Gate Status npm (scoped) CI Build

Looker Downloader

A library for downloading reports from Looker using puppeteer.

Use

As a Library

First install the library:

npm i  @service-unit-469/looker-downloader

Then you can import and use the library:

import { LookerDownload } from '@service-unit-469/looker-downloader';

const downloader = new LookerDownload('https://test.looker.com', 'username','password');
await downloader.login();
await downloader.downloadReport(123,{},'./report.csv');
downloader.shutdown();

API Documentation

Via CLI

This is also available as a CLI:

npx @service-unit-469/looker-downloader <download|download-reports> [options]

Get more details on the commands and options with:

npx @service-unit-469/looker-downloader -h