From 1186a52c6f13c4d0524d290413d5c12f17461e81 Mon Sep 17 00:00:00 2001 From: Madison May Date: Wed, 1 Jul 2015 15:33:37 -0400 Subject: [PATCH] FIX: allow access to sentimenthq API --- indicoio/utils/api.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/indicoio/utils/api.py b/indicoio/utils/api.py index 664e441..836b243 100644 --- a/indicoio/utils/api.py +++ b/indicoio/utils/api.py @@ -29,11 +29,6 @@ def api_handler(arg, cloud, api, url_params = {"batch":False, "api_key":None}, * if apis: url += "&apis=%s" % ",".join(apis) - # private beta - if host == config.PUBLIC_API_HOST: - if (api == 'sentimenthq') or ('sentimenthq' in apis): - raise IndicoError("The high quality sentiment API is currently in private beta.") - 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))