The following code returns only 20 questions/results. How can I retrieve the whole number of questions for that date?
base_url = 'https://api.stackexchange.com/2.3'
endpoint = '/questions'
params = {
'site': 'stackoverflow',
'tagged': tag,
'fromdate': start_date,
'todate': end_date,
'filter': 'default' # Use 'default' or specify your desired filter
}
response = requests.get(base_url + endpoint, params=params)
data = response.json()
pagesizeparameter you can use when you make the API query? What happens if you try using different values for that? Do you see how that corresponds to the number of results you get? (What do you suppose a "page" might refer to, in this context? What would it mean if the "size" of the "page" changes?)pageand get the next batch of results. the question has been answered.