def clientresp(data, **kwargs):
 creds = config.get_credentials()
 cfg = config.get_config()
 dumps_kwargs = {'sort_keys': True, 'cls': utils.PlotlyJSONEncoder}
 payload = {'platform': 'python', 'version': version.__version__, 'args': _json.dumps(data, **dumps_kwargs), 'un': creds['username'], 'key': creds['api_key'], 'origin': 'plot', 'kwargs': _json.dumps(kwargs, **dumps_kwargs)}
 url = '{plotly_domain}/clientresp'.format(**cfg)
 response = request('post', url, data=payload)
 parsed_content = response.json()
 if parsed_content.get('warning'):
  warnings.warn(parsed_content['warning'])
 if parsed_content.get('message'):
  print parsed_content['message']
 return response

def clientresp ( data , ** kwargs ) : creds = config . get_credentials ( ) cfg = config . get_config ( ) dumps_kwargs = { 'sort_keys' : True , 'cls' : utils . PlotlyJSONEncoder } payload = { 'platform' : 'python' , 'version' : version . __version__ , 'args' : _json . dumps ( data , ** dumps_kwargs ) , 'un' : creds [ 'username' ] , 'key' : creds [ 'api_key' ] , 'origin' : 'plot' , 'kwargs' : _json . dumps ( kwargs , ** dumps_kwargs ) } url = '{plotly_domain}/clientresp' . format ( ** cfg ) response = request ( 'post' , url , data = payload ) parsed_content = response . json ( ) if parsed_content . get ( 'warning' ) : warnings . warn ( parsed_content [ 'warning' ] ) if parsed_content . get ( 'message' ) : print parsed_content [ 'message' ] return response
deprecated endpoint .