mixpanel_custom
is a Singer tap for Mixpanel.
Built with the Meltano Tap SDK for Singer Taps.
It uses the Mixpanel Engage API to fetch cohort and cohort member data.
pipx install mixpanel_custom
{
"api_secret": "YOUR_API_SECRET"
"start_date": "rfc3339_date_string"
"project_timezone": "US/Eastern"
"date_window_size": "30"
"attribution_window": "5"
"user_agent": "tap-mixpanel <api_user_email@your_company.com>"
"cohortIDs": ["List of cohort IDs"]
}
A full list of supported settings and capabilities for this tap is available by running:
mixpanel_custom --about
You can easily run mixpanel_custom
by itself or in a pipeline using Meltano.
mixpanel_custom --version
mixpanel_custom --help
mixpanel_custom --config CONFIG --discover > ./catalog.json
pipx install poetry
poetry install
Create tests within the mixpanel_custom/tests
subfolder and
then run:
poetry run pytest
You can also test the mixpanel_custom
CLI interface directly using poetry run
:
poetry run mixpanel_custom --help
See the dev guide for more instructions on how to use the SDK to develop your own taps and targets.