Fork of the official Python client, allowing free access to the api.
Apart from authorization, works same as the official client.
HTTP
import logging
import os
from kiteconnect import KiteConnect
from dotenv import load_dotenv
load_dotenv()
logging.basicConfig(level=logging.DEBUG)
kite = KiteConnect()
kite.login(os.getenv("USER_ID"), os.getenv("USER_PASSWORD"), os.getenv("USER_PIN"))
print(kite.profile())
kite.logout()
WebSocket
kite = KiteConnect(debug=True)
kite.login(os.getenv("USER_ID"), os.getenv("USER_PASSWORD"), os.getenv("USER_PIN"))
kws = KiteTicker(kite.access_token)
# Full code in examples folder
For more examples, see examples folder
Uses the web-app endpoints to generate an access token.