API Python Importing News Text in bulk

API Python If APPKEY is generated, does it mean I can connect to Eikon via my own Python/Anaconda environment without having to use Codebook? Could you provide a sample script to retrieve the news date, news title, news content, as well as news publisher, of Singapore financial news (news code SG AND GLOFIN) for the last 3 yrs? I checked out help(ek.get_news_story()) and it does not seem to suggest much information. Could you advise where to look for available data items/data points for use in Codebook/Python?

Best Answer

  • @ethellove.cacho Yes they can also use our APIs outside of the Codebook environment. I think you should use the strategic Data Libraries which you can access with Eikon/WS. The Eikon Data API is a feature complete, slightly older API that is included for backward compatibility. We have a number of newer services on the Data Platform that you can access as a desktop users that are better than the Eikon Data API counterparts.

    Regarding News - please see my article here - also please see my latest news notebook inside Codebook using the Data Library in Python - this also contains details about getting news metadata such as topic codes etc. (it will work outside of codebook as well) :

    1707225579632.png

    I hope this can help you.