@kamal487 git it we have to use QR Code number , closing the thread.
K
Posts made by kamal487
-
RE: Token or QR value to connect with Smart API Python ?
-
Token or QR value to connect with Smart API Python ?
What value we have to pass for Token ?
api_key = 'Your Api Key'
username = 'Your client code'
pwd = 'Your pin'
smartApi = SmartConnect(api_key)
try:
token = "Your QR value"
totp = pyotp.TOTP(token).now()
except Exception as e:
logger.error("Invalid Token: The provided token is not valid.")
raise e -
API Usage without Angel Client Id?
Hi,
I'm trying to use the API to get the LTP of NSE stocks - I don't need to login or execute trades. Just a portfolio tracker that I'm building and need the quote at any given point of time.
Do I need to have a Angel Broking account (I have signed up for the developer account)? If not, what exactly is the client code required for the authentication API?