arthcmr / mixpanel-api-wrapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mixpanel-api-wrapper travis npm

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

About

License:Apache License 2.0


Languages

Language:JavaScript 100.0%