why is feedtoken fetching some long length hexadecimal code...
from SmartApi import SmartConnect,smartApiWebsocket
import pandas as pa
import xlwings as xl
import pyotp as pyo
obj=SmartConnect(api_key="*******")
data=obj.generateSession("A92018","0409",pyo.TOTP("**************").now())
refreshtoken= data['data']['refreshToken']
feedtoken = obj.getfeedToken()
print(feedtoken)
Result : C:\Users\ajays> & C:/Users/ajays/AppData/Local/Microsoft/WindowsApps/python3.12.exe c:/Users/ajays/smartapiv1.py
[I 240303 15:21:26 smartConnect:113] in pool
eyJhbGciOiJIUzUxMiJ9.eyJ1c2VybmFtZSI6IkE5MjAxOCIsImlhdCI6MTcwOTQ1OTQ4NywiZXhwIjoxNzA5NTQ1ODg3fQ.5mCpr0nNSi19BIwkJSuBEaHvgfYsflipwAGfO4-HupOWFSBGf3_0TSUxw7GX5AaH4uQw0J70Ycg04y_As17o2g