from snapi_py_client.snapi_bridge import StocknoteAPIPythonBridge
import json
samco=StocknoteAPIPythonBridge()
login=samco.login(body={"userId":'xxxxxx','password':'xxxx','yob':'xxxx'})
print("Login details",login)
this will return a user details and generated session token
This is the Error Message I am getting
File "C:\Users\BASU\Documents\Python Scripts\SamcoAPI\SamcoAuthCode.py", line 1, in
from snapi_py_client.snapi_bridge import StocknoteAPIPythonBridge
ModuleNotFoundError: No module named 'snapi_py_client'
I have already installed SDK using pip install stocknotebridge
I have written the below Code :
from snapi_py_client.snapi_bridge import StocknoteAPIPythonBridge import json samco=StocknoteAPIPythonBridge() login=samco.login(body={"userId":'xxxxxx','password':'xxxx','yob':'xxxx'}) print("Login details",login)
this will return a user details and generated session token
This is the Error Message I am getting
File "C:\Users\BASU\Documents\Python Scripts\SamcoAPI\SamcoAuthCode.py", line 1, in
from snapi_py_client.snapi_bridge import StocknoteAPIPythonBridge
ModuleNotFoundError: No module named 'snapi_py_client'
I have already installed SDK using pip install stocknotebridge
Pls Help
How to Rectify ?