Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tkio-test-case
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liuxiaoxing
tkio-test-case
Commits
6dee6a58
Commit
6dee6a58
authored
Jun 15, 2022
by
liuxiaoxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增tkio归因脚本
parent
1b4eebee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
2 deletions
+25
-2
tkioreceive.py
click-test/tkioreceive.py
+25
-2
No files found.
click-test/tkioreceive.py
View file @
6dee6a58
...
...
@@ -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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment