Unable to login to api | please help ASAP
-
-
Please share us the code snippet and API module along with SDK details to help us further on this.
Thanks & Regards,
SmartAPI team -
-
Apologies for delayed response.
We are currently supporting for Python, NodeJS, Javascript SDKs. Kindly refer to our below document to connect with SmartAPI.
Please Note: It is required to have AngelOne account to consume smartAPI.
https://smartapi.angelbroking.com/docsThanks & Regards,
SmartAPI team -
@oviass
I have tried this but can't login , it's showing padding error.
please help someone to connect session through API step by step.
Thanks -
Hello @shivdasb1996 ,
Apologies for delayed response and inconvenience is regretted.
Can you provide your client code, request and response and date and time when you faced this issue? Please share the above details to smartapi@angelbroking.com.
Thank you.Regards
SmartAPI Team -
from SmartApi import SmartConnect
from SmartApi import SmartWebSocket
from pyotp import TOTPapi_key = "APIKEY"
smartApi = SmartConnect(api_key)
clientId = "CLIENTID"
pwd = "PIN"
ttp = "totp"login api call
obj=SmartConnect(api_key)
data = obj.generateSession(clientId,pwd,TOTP(ttp).now())
feed_token = obj.getfeedToken() -
@SmartAPI-Admin please help asap