Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jpush-api-python-client
Project
Project
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
钟尚武
jpush-api-python-client
Commits
f084c503
Commit
f084c503
authored
Oct 21, 2019
by
zhongshangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推送统计增加新版接口
parent
98fa1cb8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
core.py
jpush/report/core.py
+7
-0
No files found.
jpush/report/core.py
View file @
f084c503
...
...
@@ -41,6 +41,13 @@ class Report(object):
messages
=
self
.
send
(
"GET"
,
url
,
params
=
params
)
return
messages
def
get_messages_detail
(
self
,
msg_ids
,
version
=
"new"
):
url
=
common
.
get_url
(
'report'
,
self
.
zone
)
+
'messages/detail'
params
=
{
'msg_ids'
:
msg_ids
}
messages
=
self
.
send
(
"GET"
,
url
,
params
=
params
)
return
messages
def
get_users
(
self
,
time_unit
,
start
,
duration
):
url
=
common
.
get_url
(
'report'
,
self
.
zone
)
+
'users'
params
=
{
...
...
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