HCI Search API access using Python Script

Document created by VSRIVASTAVA Employee on Jun 12, 2017
Version 1Show Document
  • View in full screen mode

Please follow attached Python script to access HCI search API on server(170).


Provided script uses SimpleHTTPServer and uses port 8009 to route search request to server(170).


If you are behind a corporate proxy and unable to access search APIs. Please Use provided python script and use configurations.


Add tunnel in putty:


Provide proxy configuration in python script:

proxy_uri = https://proxy(ip/url):(proxy_port)


Python script uses tunnel to communicate with server (170).

conn.set_tunnel(hci_api_server, hci_api_port)