【发布时间】:2014-05-12 22:28:03
【问题描述】:
我正在尝试使用他们 API 的 Mixpanel 数据导出功能。
正如预期的那样,api 要求您将请求的参数发送到 URL 中,然后返回一个 json 响应。
实际的请求方式基本如下:
data = api.request(['export'], {
'event': ['event_name'],
'from_date': from_date,
'to_date': to_date,
'where': 'properties["$property_name"]!=""'
})
'where': 'properties["$Search Engine"]!=""'
以上只导出设置了搜索引擎的数据。除了这个之外,我如何包含另一个过滤规则? Mixpanel 文档似乎是该主题的免费示例。
我尝试了以下方法:
data = api.request(['export'], {
'event': ['event_name'],
'from_date': from_date,
'to_date': to_date,
'where': 'properties["$property_name"]!=""&properties["$second_property_name"]=="value"'
})
但没有喜悦(响应是空白的)。
我们将不胜感激!
【问题讨论】: