I am trying to scrape questions related to Python from Stackoverflow using STACKEXCHANGE API between two given dates. I was accessing the data without key. Then I faced throttling issue and was banned for 20 hours. I read the documentation of Stack API and came to know about the API_Key. Now I am using API_Key, the problem I am facing is when I run the fetch command using following code:
questions = SITE.fetch('questions',tagged='python',fromdate=from_date, todate=today,filter='withbody')
I am getting
error 400, 'bad_parameter'
on fromdate. However, when I remove the API_Key and run the above command, it works fine. Could anyone guide me where am I making mistake step?