I am trying to use Mixpanel data export functionality for their API.
The api is expected to send the parameters of your request to the url and then return a json response.
The actual request method basically works as follows:
data = api.request(['export'], {
'event': ['event_name'],
'from_date': from_date,
'to_date': to_date,
'where': 'properties["$property_name"]!=""'
})
'where': 'properties["$Search Engine"]!=""'
Above all, the data in which the search engine is installed is exported. How to include one more filtering rule in addition to this? Mixpanel documentation seems pretty free on this subject.
I tried the following:
data = api.request(['export'], {
'event': ['event_name'],
'from_date': from_date,
'to_date': to_date,
'where': 'properties["$property_name"]!=""&properties["$second_property_name"]=="value"'
})
But without joy (the answer is empty).
Any help here would be greatly appreciated!
source
share