How to get the request token .

beast123
I am trying to get the request token using python code for zerodha .
This is my code .
import requests
kite = KiteConnect(api_key="xxxx ")
#print(kite.login_url()+"/session/token")
#req = urllib.request(kite.login_url())
res = urlopen(kite.login_url())
finalurl = res.geturl()
postback=finalurl

can anyone share the code for getting the request token and access token . It would be of great help .Thanks !
Tagged:
  • sujith
    @beast123, I am afraid we can't help you with this. It is mandatory by exchange that user has to login manually at least once a day.
This discussion has been closed.