Need to create new access token after each API call

abrohit
abrohit edited May 21 in Python client


I am using Python jupyter Notebook. After retrieving historical data once, on Code Cell #6, I can't make another API Call unless I run Code Cells #2, 3, 4, and 5 again. What am I doing wrong?
  • Sree
    @abrohit
    You need to log in at least once daily to generate and save an access token. you can utilize the access token for the rest of the day without login.
  • sujith
    @abrohit, You need save the access token, you receive and reuse it in the next run. Don't call generate_session for every run.
  • abrohit
    abrohit edited May 22
    Thanks!
This discussion has been closed.