mirror of
https://github.com/wassname/IndicoIo-python.git
synced 2026-06-27 16:10:34 +08:00
UPDATE: version number, CHANGES.txt
This commit is contained in:
@@ -29,3 +29,4 @@ v0.7.2 Thu Jun 11 -- Remove sentiment_hq from text apis by default
|
||||
v0.7.3 Wed Jun 17 -- Fixes for handling of specific image types
|
||||
v0.7.4 Mon Jun 22 -- Fix for setup.py issues
|
||||
v0.7.5 Wed Jul 1 -- Public access to sentimentHQ api
|
||||
v0.7.6 Tue Jul 7 -- Add Keywords API
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
from functools import partial
|
||||
|
||||
Version, version, __version__, VERSION = ('0.7.5',) * 4
|
||||
Version, version, __version__, VERSION = ('0.7.6',) * 4
|
||||
|
||||
JSON_HEADERS = {
|
||||
'Content-type': 'application/json',
|
||||
|
||||
@@ -29,8 +29,6 @@ def api_handler(arg, cloud, api, url_params = {"batch":False, "api_key":None}, *
|
||||
if apis:
|
||||
url += "&apis=%s" % ",".join(apis)
|
||||
|
||||
print url
|
||||
|
||||
response = requests.post(url, data=json_data, headers=JSON_HEADERS)
|
||||
if response.status_code == 503 and cloud != None:
|
||||
raise IndicoError("Private cloud '%s' does not include api '%s'" % (cloud, api))
|
||||
|
||||
Reference in New Issue
Block a user