Want to fetch OHLC data in weekly timeframe

Using Fyers API, the max timeframe I can use is 'D' to fetch the history data.
However, I would like to fetch the Weekly and Monthly data as well. How can I achieve that ?
Thanks in advance.

1
6 replies