Getting tweets from the past week once with search api



I want to extract tweets between 2 date, i remark that i have each time to determine the lowest tweet id from step 1. Use this lowest id to set the ‘max_id’ parameter in a second search request , The request will return tweets which all have a lower id than the ones from step 1. Repeat this approach until you get all the tweets published in the last 6-9 days.

Does anyone know a way to get tweets from the past week once, without repeating this approch ech time ?