Skip to content

curiosity/mixpanel-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mixpanel-export

Provides mixpanel-export.core/export to export events from Mixpanel for a given time range.

Configuration

Set the environment variables MIXPANEL_API_KEY and MIXPANEL_API_SECRET prior to requiring the core namespace, or rebind mixpanel-export.core/*api-key* and mixpanel-export.core/*api-secret*. You can set the timeout by binding mixpanel-export.core/*expiration-seconds* (default 120).

Usage

    (require '[mixpanel-export.core :refer [export]])
    (require '[clj-time.core :as t])

    (def now (t/now))
    (def then (t/minus now (t/months 1)))
    (def events (export ["my event"] then now))

License

Copyright © 2016 Curiosity, Inc

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

Export events from mixpanel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors