mixpanel-api-wrapper
v0.1.0
Published
wrapper around the mixpanel-data-export module to create an easy interface for retrieiving the results of JQL queries in Mixpanel
Downloads
3
Readme
mixpanel-api-wrapper
wrapper around the mixpanel data export API to create an easy interface for retrieiving the results of JQL queries and funnel data in Mixpanel
Install
npm install mixpanel-api-wrapper
Example
var mixpanel = require('mixpanel-api-wrapper');
//retrieve results from JQL query
var results1 = mixpanel.mixpanelJQL(<apiSecret>, <jqlQuery>);
//retrieve results from hitting funnels endpoint of API
var results2 = mixpanel.mixpanelFunnel(<apiSecret>, <funnelID>);
License
Apache 2.0