Comment on Kite Connect APIs for programmatic access

akki commented on 24 Jul 2016, 03:32 PM

obtaining request token and generating access token business is pain full without example. Can you get this with python ? if so , how?
kite = KiteConnect(api_key)
#xyz = kite.login_url()
#print “kite” ,kite
#browser= mechanize.Browser()
#browser.add_password(‘https://kite.trade/connect/login?api_key=******’, ‘****’, ‘*****’)
#response = browser.open(‘https://kite.trade/connect/login?api_key=******’)
#xyz = response.geturl()
#print xyz
#request_token =xyz[47:79]
#print request_token

It only gives invalid session. I am just wasting my time to get this out .

View the full comment thread »