Hi, I am new to Pyconnect. I am trying to establish connection with the code given in https://kite.trade/docs/pykiteconnect/v3/ I have the API_Key for my login. I think "your_secret" is "api_key" from my login. what is "access token" here? pls answer. THanks
data = kite.generate_session("request_token_here", api_secret="your_secret") kite.set_access_token(data["access_token"])
HI, I have subscribed for API_connect by paying 2000. I have 2 problems now 1. Everytime, I invoke kite.generate_session(request_token,api_secret=api_secret) - the request token works only one time. Next time, it throws, invalid token. so, how to have this request token unchanged like api_key or access token 2. when I pass the correct api_key, request_token and access_token, it throws the error message DEBUG:urllib3.connectionpool:https://api.kite.trade:443 "GET /orders HTTP/1.1" 200 30 - what is this? and how can i proceed further?
kiteconnect.exceptions.TokenException: Token is invalid or has expired.
can you pls help?
see this video https://youtube.com/watch?v=wHLrMyzdgJw
what do I get if buy connect for 2000rs?
There is no support over the call.
However, you can post your queries over the forum.
1. Everytime, I invoke kite.generate_session(request_token,api_secret=api_secret) - the request token works only one time. Next time, it throws, invalid token. so, how to have this request token unchanged like api_key or access token
2. when I pass the correct api_key, request_token and access_token, it throws the error message DEBUG:urllib3.connectionpool:https://api.kite.trade:443 "GET /orders HTTP/1.1" 200 30 - what is this? and how can i proceed further?
refer How to login in kite connect video in nelow link.
https://kite.trade/forum/discussion/6216/python-and-kiteconnect-series#latest