Commit 0cc27c96 authored by linbo's avatar linbo

Fix API url

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