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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 1

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

eikoneikon-data-apipythonworkspacerefinitiv-dataplatform-eikonworkspace-data-apiauthentication
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
Accepted
7.6k 10 6 8

@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 512.0 KiB each and 1.0 MiB total.

I get the following error message:

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


Upvotes
7.6k 10 6 8

@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 512.0 KiB each and 1.0 MiB total.

No, i receive the error message

Upvotes
7.6k 10 6 8

@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 512.0 KiB each and 1.0 MiB total.