I am trying this package for the first time and I'm trying to run the below code from the instructions, on colab.
from nsetools import Nse
nse = Nse()
code = "ITC"
nse.get_quote(code, all_data=False)
And I am getting the below error
---------------------------------------------------------------------------
JSONDecodeError Traceback (most recent call last)
[/usr/local/lib/python3.11/dist-packages/requests/models.py](https://localhost:8080/#) in json(self, **kwargs)
973 try:
--> 974 return complexjson.loads(self.text, **kwargs)
975 except JSONDecodeError as e:
5 frames
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
JSONDecodeError Traceback (most recent call last)
[/usr/local/lib/python3.11/dist-packages/requests/models.py](https://localhost:8080/#) in json(self, **kwargs)
976 # Catch JSON-related errors and raise as requests.JSONDecodeError
977 # This aliases json.JSONDecodeError and simplejson.JSONDecodeError
--> 978 raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
979
980 @property
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I am not sure if I am missing some steps!
I am trying this package for the first time and I'm trying to run the below code from the instructions, on colab.
And I am getting the below error
I am not sure if I am missing some steps!