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 !