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
9e065b92
Commit
9e065b92
authored
May 14, 2014
by
hupantingxue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JPush API 3.0 Client:
Optimize the sample code;
parent
4ff04c2e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
conf.py
examples/conf.py
+1
-0
push_api.py
examples/push_api.py
+1
-0
No files found.
examples/conf.py
View file @
9e065b92
APP_KEY
=
'xxxxx'
MASTER_SECRET
=
'xxxxxx'
MSG_JSONOBJ
=
{
xxx
}
examples/push_api.py
View file @
9e065b92
...
...
@@ -8,6 +8,7 @@ import conf
sendno
=
int
(
time
.
time
())
app_key
=
conf
.
APP_KEY
master_secret
=
conf
.
MASTER_SECRET
msg_json
=
conf
.
MSG_JSONOBJ
jpush_client
=
JPushClient
(
master_secret
)
...
...
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