V2 Alice Blue API Utilize Free of Cost to Automate Trades in Python

Follow the Instructions from the above Video then go for the Code below to create Session ID.


from pya3 import *
username=open('username.txt','r').read()
api_key=open('api_key.txt','r').read()
alice=Aliceblue(username,api_key)
alice.get_session_id()['sessionID']
alice.get_contract_master('INDICES')
alice.get_contract_master('MCX')
alice.get_contract_master('NSE')
alice.get_contract_master('NFO')