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
f75bde1c
Commit
f75bde1c
authored
Oct 29, 2018
by
Helperhaps
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add api
parent
9e6d7897
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
__init__.py
jpush/__init__.py
+1
-1
core.py
jpush/schedule/core.py
+5
-0
No files found.
jpush/__init__.py
View file @
f75bde1c
...
...
@@ -75,7 +75,7 @@ __all__ = [
schedulepayload
,
]
__version__
=
'3.3.
0
'
__version__
=
'3.3.
2
'
VERSION
=
tuple
(
map
(
int
,
__version__
.
split
(
'.'
)))
# Silence urllib3 INFO logging by default
...
...
jpush/schedule/core.py
View file @
f75bde1c
...
...
@@ -43,6 +43,11 @@ class Schedule(object):
result
=
self
.
send
(
"DELETE"
,
url
)
return
result
def
get_msg_ids
(
self
,
schedule_id
):
url
=
common
.
BASE_SCHEDULEURL
+
schedule_id
+
'/msg_ids'
body
=
None
result
=
self
.
send
(
"GET"
,
url
,
body
)
return
result
class
ScheduleResponse
(
object
):
"""Response to a successful device request send.
...
...
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