Nasdaq / data-link-python

A Python library for Nasdaq Data Link's RESTful API
MIT License
418 stars 69 forks source link

Module 'nasdaqdatalink' has no attribute 'get' #38

Open nic527 opened 1 year ago

nic527 commented 1 year ago

Hello,

The below code send me an error code: AttributeError: module 'nasdaqdatalink' has no attribute 'get'

import nasdaqdatalink data = nasdaqdatalink.get('NSE/OIL') print(data)

Python version 3.7.3 nasdaq-data-link in /usr/local/lib/python3.7/dist-packages (1.0.4)

Best Regards

clientsuccessnasdaq commented 1 year ago

-- Please reply above this line --

        Hello,

Thank you for contacting us.

We see that you are not authenticating your API key. Therefore, we recommend that you pass your API key to successfully run the code. import nasdaqdatalink nasdaqdatalink.ApiConfig.api_key= "YOUR_API_KEY" df = nasdaqdatalink.get("NSE/OIL") print(df)

The above returns the expected results:

Thanks,

VAIBHAV TEMBEY Client Success  Nasdaq Data Link

How would you rate my reply? Great [1]    Okay [2]    Not Good [3]

Links:

[1] https://secure.helpscout.net/satisfaction/604939842/record/6481703821/1/ [2] https://secure.helpscout.net/satisfaction/604939842/record/6481703821/2/ [3] https://secure.helpscout.net/satisfaction/604939842/record/6481703821/3/

    > On Sun, Mar 5, 2023 at 11:05 AM EST, Nasdaq/data-Link-Python ***@***.***> wrote:

WARNING - EXTERNAL EMAIL; EXERCISE CAUTION.

Hello,

The below code send me an error code: AttributeError: module 'nasdaqdatalink' has no attribute 'get'

import nasdaqdatalink data = nasdaqdatalink.get('NSE/OIL') print(data)

Python version 3.7.3 nasdaq-data-link in /usr/local/lib/python3.7/dist-packages (1.0.4)

Best Regards

- Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Links:

[1] https://github.com/Nasdaq/data-link-python/issues/38 [2] https://github.com/notifications/unsubscribe-auth/AWYQ64ZTZ5BUYCZQZOP6VWLW2S2SLANCNFSM6AAAAAAVQH2HGU

nic527 commented 1 year ago

Hello,

Thank you for your reply. With the addition of nasdaqdatalink.ApiConfig.api_key= "MY_API_KEY" in the code

I have the error: AttributeError: module 'nasdaqdatalink' has no attribute 'ApiConfig'

Best Regards

clientsuccessnasdaq commented 1 year ago

-- Please reply above this line --

        Hi there,

Could you kindly email us your exact .py file as an attachment? This can help us look into the issue more closely.

We can be reached at @.*** [1].

Thank you, Kim

Links:

[1] @.***

KIM LIRA Client Success  Nasdaq Data Link

How would you rate my reply? Great [1]    Okay [2]    Not Good [3]

Links:

[1] https://secure.helpscout.net/satisfaction/605180036/record/6482792047/1/ [2] https://secure.helpscout.net/satisfaction/605180036/record/6482792047/2/ [3] https://secure.helpscout.net/satisfaction/605180036/record/6482792047/3/

    > On Mon, Mar 6, 2023 at 1:12 PM EST, Nasdaq/data-Link-Python ***@***.***> wrote:

WARNING - EXTERNAL EMAIL; EXERCISE CAUTION.

Hello,

Thank you for your reply. With the addition of nasdaqdatalink.ApiConfig.api_key= "MY_API_KEY" in the code

I have the error: AttributeError: module 'nasdaqdatalink' has no attribute 'ApiConfig'

Best Regards

- Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you commented.Message ID: @.***>

Links:

[1] https://github.com/Nasdaq/data-link-python/issues/38#issuecomment-1456684295 [2] https://github.com/notifications/unsubscribe-auth/AWYQ645XIYVBVEHUYWDTTDTW2YSDFANCNFSM6AAAAAAVQH2HGU

nic527 commented 1 year ago

Hello Team,

Kindly find my very simple .py as an attachement with a fake api_key.

Return me: AttributeError: module 'nasdaqdatalink' has no attribute 'ApiConfig'

Best Regards

Nicolas

-- Please reply above this line --

Hi there,

Could you kindly email us your exact .py file as an attachment? This can help us look into the issue more closely.

We can be reached at @.*** [1].

Thank you, Kim

Links:


[1] @.***

KIM LIRA Client Success Nasdaq Data Link

How would you rate my reply? Great [1] Okay [2] Not Good [3]

Links:


[1] https://secure.helpscout.net/satisfaction/605180036/record/6482792047/1/ [2] https://secure.helpscout.net/satisfaction/605180036/record/6482792047/2/ [3] https://secure.helpscout.net/satisfaction/605180036/record/6482792047/3/

On Mon, Mar 6, 2023 at 1:12 PM EST, Nasdaq/data-Link-Python @.***> wrote:

WARNING - EXTERNAL EMAIL; EXERCISE CAUTION.

Hello,

Thank you for your reply. With the addition of nasdaqdatalink.ApiConfig.api_key= "MY_API_KEY" in the code

I have the error: AttributeError: module 'nasdaqdatalink' has no attribute 'ApiConfig'

Best Regards

  • Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you commented.Message ID: @.***>

Links:


[1] https://github.com/Nasdaq/data-link-python/issues/38#issuecomment-1456684295 [2] https://github.com/notifications/unsubscribe-auth/AWYQ645XIYVBVEHUYWDTTDTW2YSDFANCNFSM6AAAAAAVQH2HGU

— Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you authored the thread. Message ID: <Nasdaq/data-link-python/issues/38/1456930158 @ github . com>

clientsuccessnasdaq commented 1 year ago

-- Please reply above this line --

        Hello Nicolas,

Thank you for contacting us.

We are unfortunately unable to view the attachment. Could you kindly send us a direct email at Client Success so that our team could review?

Thanks, VAIBHAV TEMBEY Client Success  Nasdaq Data Link

How would you rate my reply? Great [1]    Okay [2]    Not Good [3]

Links:

[1] https://secure.helpscout.net/satisfaction/606481707/record/6503742591/1/ [2] https://secure.helpscout.net/satisfaction/606481707/record/6503742591/2/ [3] https://secure.helpscout.net/satisfaction/606481707/record/6503742591/3/

    > On Sun, Mar 12, 2023 at 6:37 AM EDT, Nasdaq/data-Link-Python ***@***.***&gt; wrote:

WARNING - EXTERNAL EMAIL; EXERCISE CAUTION. Hello Team,

Kindly find my very simple .py as an attachement with a fake api_key.

Return me: AttributeError: module 'nasdaqdatalink' has no attribute 'ApiConfig'

Best Regards

Nicolas

-- Please reply above this line --

Hi there,

Could you kindly email us your exact .py file as an attachment? This can help us look into the issue more closely.

We can be reached at @.*** [1].

Thank you, Kim

Links:

[1] @.***

KIM LIRA Client Success Nasdaq Data Link

How would you rate my reply? Great [1] Okay [2] Not Good [3]

Links:

[1] https://secure.helpscout.net/satisfaction/605180036/record/6482792047/1/ [1] [2] https://secure.helpscout.net/satisfaction/605180036/record/6482792047/2/ [2] [3] https://secure.helpscout.net/satisfaction/605180036/record/6482792047/3/ [3]

On Mon, Mar 6, 2023 at 1:12 PM EST, Nasdaq/data-Link-Python @.***> wrote:

WARNING - EXTERNAL EMAIL; EXERCISE CAUTION.

Hello,

Thank you for your reply. With the addition of nasdaqdatalink.ApiConfig.api_key= "MY_API_KEY" in the code

I have the error: AttributeError: module 'nasdaqdatalink' has no attribute 'ApiConfig'

Best Regards

- Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you commented.Message ID: @.***>

Links:

[1]

https://github.com/Nasdaq/data-link-python/issues/38#issuecomment-1456684295 [4] [2]

https://github.com/notifications/unsubscribe-auth/AWYQ645XIYVBVEHUYWDTTDTW2YSDFANCNFSM6AAAAAAVQH2HGU [5]

- Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you authored the thread. Message ID: <Nasdaq/data-link-python/issues/38/1456930158 @ github . com>

- Reply to this email directly, view it on GitHub [6], or unsubscribe [7]. You are receiving this because you commented.Message ID: @.***>

Links:

[1] https://secure.helpscout.net/satisfaction/605180036/record/6482792047/1/ [2] https://secure.helpscout.net/satisfaction/605180036/record/6482792047/2/ [3] https://secure.helpscout.net/satisfaction/605180036/record/6482792047/3/ [4] https://github.com/Nasdaq/data-link-python/issues/38#issuecomment-1456684295 [5] https://github.com/notifications/unsubscribe-auth/AWYQ645XIYVBVEHUYWDTTDTW2YSDFANCNFSM6AAAAAAVQH2HGU [6] https://github.com/Nasdaq/data-link-python/issues/38#issuecomment-1465154816 [7] https://github.com/notifications/unsubscribe-auth/AWYQ64ZYUWJLINJ644QRNY3W3WROTANCNFSM6AAAAAAVQH2HGU