How to get Historical Data in python

Hatimneral
I want to get live closing prices and volumes of indices, stocks and OI. for that I have subscribed to historical data api, before I had the kite connect api.
But now how do I access the data, like what code do I have to write to fetch the data?
Please assist me.
Thank you
This discussion has been closed.