Commit 7982c543 authored by fendouai's avatar fendouai

add report api example

parent a0004990
import jpush as jpush
from conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret)
report=_jpush.create_report();
report.get_messages("3289406737")
\ No newline at end of file
......@@ -3,4 +3,4 @@ from conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret)
report=_jpush.create_report();
report.get_messages("3289406737")
\ No newline at end of file
report.get_received("3289406737")
\ No newline at end of file
......@@ -13,7 +13,7 @@ TAGLIST_URL = TAG_URL
ALIAS_URL = DEVICE_BASEURL + "v3/aliases/"
REPORT_BASEURL="https://report.jpush.cn/"
RECEIVED_URL=REPORT_BASEURL+"v3/received"
RECEIVED_URL=REPORT_BASEURL+"v3/received?msg_ids="
MESSAGES_URL=REPORT_BASEURL+"v3/messages?msg_ids="
USERS_URL=REPORT_BASEURL+"v3/users?"
......
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