Get_historical_data

How to get_historical_data for a particular period? I mean for last 1 weak or 1 month.