kissmetrics/example-people-search — pull request #1 by fragsalat (2014-07-16 15:33:18+00:00)
Title: JavaScript implementation to retirve kissmetrics reports

These two files are the JavaScript implementation for retrieving km reports.
Since the XMLHttpRequest class isn't available in penthao kettle I used the java HttpClient and its dependencies.

The native JavaScript will throw an cross domain exception if you doesn't run it from https://query.kissmetrics.com
For the penthao JavaScript just create a Modified Javascript Value element and use the code.