I'm trying to generate the App Key to use Eikon Data API for Python as per:
When I click on the "Register New App", nothing happens
Even ''API'' field values are not available to select ''Eikon Data API'' as mentioned in the above guide.
Your Eikon version is too low and it does not have APIPROXY service (or it has a low version which is not compatible with API version1.0.1).
I also think that it may also be related to why you cannot use APPKEY application. In any case, please upgrade your Eikon Desktop first and try again. Thanks.
thanks for your query. If API options are grayed out then it's likely the App did not load properly. I would recommend re-loading it and trying again. Generally if a Key is unable to be generated for some reason an error will appear,,, but it sounds like in your case you're not getting any error, which likely points to the AppKey app itself rather than something request related. Would also ensure other apps in Eikon are working correctly, there could be something more global interfering.
Thanks @James.Perkins for your reply.
I was able to generate the key via web version of Eikon (Desktop one doesn't work as I mentioned). When I tried to use the key in the code:
import eikon as ek
I got another error:
Error on checking port 9000 : HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /api/v1/data (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000027C90605C88>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',)) Error on checking port 36036 : HTTPConnectionPool(host='localhost', port=36036): Max retries exceeded with url: /api/v1/data (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000027C906050F0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',)) Error on handshake port None : Failed to parse: localhost:None Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.
EikonError: Error code -1 | Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.
I can't use netstat command to check ports, due to corporate restrictions.
Do you know what Eikon variant you are using ?
Or please try to follow this article to verify if the APIPROXY service on Eikon Desktop is enabled properly and also Eikon Data API version installed on your machine.
I think it could be that you may use Eikon variant that does not support APIPROXY service.
Or you EIkon Desktop installation may have not been successful.
Eikon version I use is 4.0.26424 eikonversion.png
Eikon version should be 4.0.36 or higher. Could this be the cause of issue?
For Eikon data API, it's 1.0.1 version
I followed instructions on the link you mentioned, I noticed that:
- "Configure" button is deactivated under Configuration manager config-manager.png
- No SxS files found under TRD folder
- http://localhost:9000/ping?all doesn't work for me
As I mentioned before, I was able to generate the key only via Eikon web version. Desktop one doesn't anything (attachment in my first post).
I'd like to mention that, in excel too, I can't see ThomsonReuters tab.
For variant, how I could find the one installed?