Skip to content

Commit

Permalink
add api
Browse files Browse the repository at this point in the history
  • Loading branch information
Helperhaps committed Oct 29, 2018
1 parent 9e6d789 commit f75bde1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion jpush/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
schedulepayload,
]

__version__ = '3.3.0'
__version__ = '3.3.2'
VERSION = tuple(map(int, __version__.split('.')))

# Silence urllib3 INFO logging by default
Expand Down
5 changes: 5 additions & 0 deletions jpush/schedule/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ def delete_schedule(self,schedule_id):
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.
Expand Down

0 comments on commit f75bde1

Please sign in to comment.