Commit 6dee6a58 by liuxiaoxing

新增tkio归因脚本

parent 1b4eebee
......@@ -2,7 +2,31 @@ import requests
url = "http://log.trackingio.com/receive/tkio//install"
payload="{\n\t\"what\": \"install\",\n\t\"appid\": \"d7fbbb5410a9b70754c9d1e8f16741b3\",\n\t\"context\": {\n\t\t\"_deviceid\": \"AHDIF5CJ-2JV8-FIPS-4RYB-PTTEMXYHUFVB\",\n\t\t\"_idfa\": \"AHDIF5CJ-2JV8-FIPS-4RYB-PTTEMXYHUFVB\",\n\t\t\"_idfv\": \"64F5A794-A942-4209-81B0-D28FD01E9287\",\n\t\t\"_ip\": \"125.121.15.3\",\n\t\t\"_manufacturer\": \"vivo\",\n\t\t\"_ryos\": \"ios\",\n\t\t\"_rydevicetype\": \"vivox9\",\n\t\t\"_networktype\": \"5g\",\n\t\t\"_resolution\": \"1344*750\",\n\t\t\"_carrier\": \"\\u4e2d\\u56fd\\u8054\\u901a\",\n\t\t\"_timestamp\": 1655291783782,\n\t\t\"_model\": \"jixing\",\n\t\t\"_ryosversion\": \"13.6.1\",\n\t\t\"__model\": \"jixing\"\n\t},\n\t\"when\": \"2022-06-15 19:16:23\",\n\t\"ds\": \"2022-06-15\",\n\t\"who\": \"lxx_test\"\n}"
data = {
"what": "install",
"appid": "d7fbbb5410a9b70754c9d1e8f16741b3",
"context": {
"_deviceid": "AHDIF5CJ-2JV8-FIPS-4RYB-PTTEMXYHUFVB",
"_idfa": "AHDIF5CJ-2JV8-FIPS-4RYB-PTTEMXYHUFVB",
"_idfv": "64F5A794-A942-4209-81B0-D28FD01E9287",
"_ip": "125.121.15.3",
"_manufacturer": "vivo",
"_ryos": "ios",
"_rydevicetype": "vivox9",
"_networktype": "5g",
"_resolution": "1344*750",
"_carrier": "\u4e2d\u56fd\u8054\u901a",
"_timestamp": 1655291783782,
"_model": "jixing",
"_ryosversion": "13.6.1",
"__model": "jixing"
},
"when": "2022-06-15 19:16:23",
"ds": "2022-06-15",
"who": "lxx_test"
}
headers = {
'Content-Type': 'application/json'
}
......@@ -10,4 +34,3 @@ headers = {
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment