Export Mixpanel events

  • 1 August 2022
  • 1 reply

Hi, I am writing a code (in python) that is counting users clicks and need to verify that events in Mixpanel were created. 

What do I need in order to approach to Mixpanel and retrieve created events to my IDE?

Are events sent only in json format?

What are the appropriate code steps for this kind of test?



Best answer by naitik.soni 3 August 2022, 13:15

View original

1 reply

Userlevel 3
Badge +1

Hi @Diana Brook,

I would recommend if you already have an insight report created and you want to pull the numbers into your IDE, you could make use of Query API. It will allow you to get the exact count based on the report you created (in JSON format though)

However, Mixpanel also has Raw Export API where the output would be in JSON and you would have to format it and aggregate it yourself.

Hope this helps