Rohit Priyanka Nandwani
Results
2
comments of
Rohit Priyanka Nandwani
@yylscott That error is raised because of unnecessary spaces in your url string > api_url = f'https://sandbox.iexapis.com **[HERE]** /stable/stock/{symbol}/quote/?token **[HERE]** = **[HERE]** {IEX_CLOUD_API_TOKEN}' remove those spaces, and it would work....
@thangdh73 Yeah. That is because secrets is a module added in python stdlib in v3.6. The code is trying to import IEX_CLOUD_API_TOKEN from there, which doesn't exist. Instead, rename the...