Commit 0cc27c96 authored by linbo's avatar linbo

Fix API url

parent 020b2d61
from .client import JPushClient from .client import JPushClient
__version__ = '0.1.0' __version__ = '0.1.1'
VERSION = tuple(map(int, __version__.split('.'))) VERSION = tuple(map(int, __version__.split('.')))
__all__ = ['JPushClient'] __all__ = ['JPushClient']
...@@ -5,7 +5,7 @@ import hashlib ...@@ -5,7 +5,7 @@ import hashlib
import urllib import urllib
import urllib2 import urllib2
API_URL = "http://api.jpush.cn:8800/sendmsg/v2/sendmsg" API_URL = "http://api.jpush.cn:8800/v2/push"
KEY_PARAMS = [ KEY_PARAMS = [
"sendno", "sendno",
"app_key", "app_key",
......
...@@ -8,7 +8,7 @@ from jpush import __version__ ...@@ -8,7 +8,7 @@ from jpush import __version__
setup( setup(
name='jpush', name='jpush',
version=__version__, version=__version__,
description='Python client library for JPush APIs', description='JPush\'s officially supported Python client library',
keywords=('JPush', 'JPush API'), keywords=('JPush', 'JPush API'),
license='MIT License', license='MIT License',
long_description=open("README.rst", "r").read(), long_description=open("README.rst", "r").read(),
......
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