Python中的Clevertap事件数据

2024-04-20 16:13:34 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在使用https://github.com/CleverTap/clevertap-server-api-examples获取python中的clevertap事件数据,但是我得到了一个错误 HTTP错误405:此URL不支持HTTP方法POST

from python.api_v0.clevertap import CleverTap
clevertap = CleverTap('xxx-xxx-xxxx','xxx-xxx-xxxx')
query = {
    "event_name": "c_city_selected",
    "from": 20180610,
    "to": 20180611
}
res = clevertap.events(query)

Tags: fromhttpsgithubcomapihttpserver错误