Process to generate access token

sameeer
sameeer edited May 2020 in Python client
Is there any problem if
1) I generate request token only once
2) But I call self.kite_connect.generate_session(...) 100 times a day while testing (or is it recommended to buffer access_token and directly call set_access_token skipping "call to generate_session()"
Tagged:
  • sujith
    You don't have to do that. Once you get an access token, store it and re-use it in the next run until you get 403.
Sign In or Register to comment.