Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dekobon/mixpanel-data-dump

Simple CLI utility written in Groovy to dump all data from a Mixpanel project
https://github.com/dekobon/mixpanel-data-dump

Last synced: 1 day ago
JSON representation

Simple CLI utility written in Groovy to dump all data from a Mixpanel project

Awesome Lists containing this project

README

        

Mixpanel Data Dump
==================

This is a simple utility written in Groovy that dumps all Mixpanel data into
a of JSON serialized objects delinated by new lines.

For more information, see the [Mix Panel documentation](https://mixpanel.com/docs/api-documentation/exporting-raw-data-you-inserted-into-mixpanel).

To setup to run from Linux:

```bash
chmod +x ./bin/dump_mixpanel_events
chmod +x ./gradlew
```

Then run as so to get help for the CLI:

```bash
./bin/dump_mixpanel_events -help
usage: dump_mixpanel_events [-d ] [-f ] [-h] [-k ] [-s
] [-t ]
-d,--from_date Date to dump data from (YYYY-mm-dd)
-f,--file File to write output to
-h,--help Lists available OPTIONS
-k,--api_key Mixpanel API key
-s,--api_secret Mixpanel API secret
-t,--to_date Date to dump data from (YYYY-mm-dd)

```

Note that id a file name is not specified data will be written to STDOUT.