# Redirect the user to the login url obtained # from kite.login_url(), and receive the request_token # from the registered redirect url after the login flow. # Once you have the request_token, obtain the access_token # as follows. data = kite.generate_session("siyi2w6eIbZ5tSDfZ0ATPR1RiSGWrboX",secret) print(data) # From Print(data) I get Acccess token and Place it in the line below and execute. kite.set_access_token(data["85u1996Pgpy3+qNayVLeObo5ssdz"])
The Last line gives me an error as Key Error : '85u1996Pgpy3+qNayVLeObo5ssdz'