It looks like you're new here. If you want to get involved, click one of these buttons!
from kiteconnect import KiteConnect
import pandas as pd
api_key = "API _Key"
api_secret = "Secret API Key"
kite = KiteConnect(api_key=api_key)
print(kite.login_url())
request_token = " XXXXXX"
data = kite.generate_session(request_token, api_secret=api_secret)