Upstox Examples in the API documentation for Historical Data USING upstox python SDK IS not working

Please find enclosed the line of codes provided in the UPSTOX API Documentation for fetching historical data using HistoryV3Api import upstox_client
apiInstance = upstox_client.HistoryV3Api()
try:
response = apiInstance.get_historical_candle_data1(“NSE_EQ|INE848E01016”, “minutes”, “1”, “2025-01-02”, “2025-01-01”)
print(response)
except Exception as e:
print(“Exception when calling HistoryV3Api->get_historical_candle_data1: %s\n” % e) The above code when run generates an error : --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[19], line 2 1 import upstox_client ----> 2 apiInstance = upstox_client.HistoryV3Api() 3 try: 4 response = apiInstance.get_historical_candle_data1(“NSE_EQ|INE848E01016”, “minutes”, “1”, “2025-01-02”, “2025-01-01”) AttributeError: module ‘upstox_client’ has no attribute ‘HistoryV3Api’ Please advise how to use HoistoryV3Api attribute of upstox_client ( if at all there are the following attribute )… In case such attributes are removed, please update tour sites examples with correct ones or decalre that HistoryV3Api is deprecated .

Hi @Bikram, Could you please share the version that you are using? Please try with the latest version as mentioned here