Biggy Poopa
Biggy Poopa

Reputation: 97

Fetch all questions using Python

Currently I am working on the project where I need to collect all questions from the Stack Overflow site.

from stackapi import StackAPI

SITENAME = 'stackoverflow'
SITE = StackAPI(SITENAME)

questions = SITE.fetch('questions')
print(len(questions))

I passed various arguments to the fetch method, but maximum amount of responses that I get is 500.

Is there any way to increase the number of responses using fetch method? If not is there any other way to collect all question from Stack Overflow?

Upvotes: 1

Views: 205

Answers (0)

Related Questions