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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

Is it possible to get American Petroleum Institute data via API ?

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonauthentication
icon clock
10 |1500

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

Upvotes
Accepted
6.7k 8 6 7

@fgashi These are the weekly data:

ric_api=['C-STK-T-API', 'DST-STK-T-API','GL-STK-T-API','JET-STK-T-API','REFCR-T-API']
df =ek.get_timeseries(ric_api,fields='CLOSE',interval='weekly')
df

I hope this can help.


1615393984962.png (173.1 KiB)
icon clock
10 |1500

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

I get the following error message:

AttributeError: 'AttributeError' object has no attribute 'message'


Upvotes
6.7k 8 6 7

@fgashi - can you see data for any of those RICs in a quote window?

icon clock
10 |1500

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

No, i receive the error message

Upvotes
6.7k 8 6 7

@fgashi - so I believe you are not entitled to see this content currently - please speak to your account representative who can add this content set to your desktop package, I hope this can help,

icon clock
10 |1500

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

Click below to post an Idea Post Idea