-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSONDecodeError for nse_eq('PVR') #25
Comments
facing a similar situation using equity_history() method.
|
@praful-vats can you confirm if nsepython is still working? |
@TheRealXenoZ are you receiving this error only for specific method, I am receiving the error for all the methods. |
@reachbharathan @praful-vats some function of nsepython depends on nsepy so if you are using those they will not work |
Changing the URL to the following fixed my problem: "https://www.nseindia.com/api/equity-stockIndices?index=SECURITIES IN F%26O" P.S. The url still sometimes fails, add retries and try except in your code should help |
There is lot's of apis in nse that they use internally. |
Please use https://forum.unofficed.com/c/programming/nse-python-api/21 for discussion. Every single problem needs attention and I cannot attend everything in unorganized manner. |
Hi Team,
I have installed the library via pip3
while executing the below code , I am getting the below error mentioned
Error Code
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Complete Error Code
System Configuration:
Mac
Python 3.11.2
pip 23.1.2
The text was updated successfully, but these errors were encountered: