Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 1 3 5

iMap data through Eikon API

Hi,


Can we fetch iMap data through Eikon API?

reuters://REALTIME/verb=Eikon Explorer App/url=cpurl://apps.cp./Apps/iMap?List%2F0_assetConfigurations=C%7DKL7309471757_C%7DKL7309482782_C%7DKL7309483166_C%7DKL7309484287_C%7DKL7309485339_C%7DKL7309486361_C%7DKL7309489813_C%7DKL7309489927_C%7DKL7309490947_C%7DKL7309491316_C%7DKL7309492844_C%7DKL7309493491_C%7DKL7309494342_C%7DKL7309494344_C%7DKL7309494844_C%7DKL7309495991_C%7DKL7309502802_C%7DKL7309638810_C%7DKL7309634855_C%7DKL7309636815_C%7DKL7309844081_C%7DKL7309836730_C%7DKL7309844075_C%7DKL7309844074_C%7DKL7309844121_C%7DKL7309843327_C%7DKL7309843509_C%7DKL7309851285_C%7DKL7309865586_C%7DKL7309849075_C%7DKL7309843330_C%7DKL7309911285_C%7DKL7309912026_C%7DBG7309900471_C%7DKL7309900133_C%7DKL7309900138_C%7DKL7309900787_C%7DKL7309912028_C%7DKL7309913811_C%7DKL7309914092_C%7DKL7309932842_C%7DKL7309923213_C%7DKL7309944897_C%7DKL7309944896_C%7DKL7309983067_C%7DKL7309951001_C%7DKL7309983076

Thanks,

Sree

eikon#technology#content
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hello @sreedhanya.kavunkara

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,
AHS

Upvote
Accepted
10.2k 18 6 9

@sreedhanya.kavunkara So some information from the imap app is available - generally the data is presented as layers - so in terms of physical assets we have full coverage eg mines, refineries, vessels etc - each having their own datamodel - you can check these using the Data Item Browser app (type DIB into Eikon search bar) - see below:

1674647285133.png

Then you can use the RD library or Eikon Data API library to retrieve the data - to find out various physical asset RICs you can use our new RD library search templates as follows:

import refinitiv.data as rd
from physical_assets_map import PhysicalAssetsMap
rd.load_config("search-templates.config.json")
mines = rd.discovery.search_templates["Mines"]
df = mines.search(commodity="Gold", region="Australia")

PhysicalAssetsMap().plot(df).show()
display(df)

1674647905489.png

Once you have your list of RICs you can then request additional data fields using another API call etc. I hope this can help.


1674647285133.png (424.8 KiB)
1674647905489.png (422.0 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
1 1 3 5

Hi,

Thanks. happy to know that data can be fetched from iMap. I have a follow up question. I do not have refinitiv module installed. can I install it just using 'pip install refinitiv'? Do we need a separate RDP credentials for this? If we can pull the same map data through Eikon Data API, and if you can provide that code, even that will be really helpful.

Thanks,

Sree

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
10.2k 18 6 9

@sreedhanya.kavunkara thanks for your follow up question - so if you are simply looking to play with the APIs you can launch the CODEBOOK app type CODEBK in the Eikon or Workspace bar which will launch a fully featured hosted Python instance where you can create and run notebooks. We have lots of example notebooks in there covering both RD Libraries as well as Eikon Data API (which is actually available from the same RD Library).

If you want to install and use the RD Libs in your own standalone Python instance - please go here and follow the steps in the quick start guide. If you are using a desktop session - it will use an app key credential as usual.

If you want to use the Eikon Data API to get physical assets data - please try:

df, err = ek.get_data(['C}GH7309558844'],["TR.AssetName","TR.AssetLongitude","TR.AssetLatitude"])

df

1685104819254.png

I hope this can help. Let us know how you get on.


1685104819254.png (26.5 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.