You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to make a fairly simple script which will run throughout election day which will involve collecting the currently declared candidates. I have no need to wait for precise vote counts, therefore it seems I should be using the candidates_elected endpoint as I want up-to-the-minute data as the results are coming in.
There is no page_size argument to the candidates_elected endpoint
Only 10 results are returned, when there are 650 MPs
Attempting to query 65 pages in a short space of time results in 429 Too Many Requests errors
Screenshots
Expected
A page_size argument is provided, or the default page size is not tiny
Actual
The page size is tiny
Additional Details
Browser and version — wget and requests
Were you logged in? — no
The text was updated successfully, but these errors were encountered:
Incidentally logging in does fix the 429 errors, but I really don't want to be completely hammering your site 65 times every minute or so when I could just do it once a minute...
Issue and Steps to Reproduce
I am trying to make a fairly simple script which will run throughout election day which will involve collecting the currently declared candidates. I have no need to wait for precise vote counts, therefore it seems I should be using the
candidates_elected
endpoint as I want up-to-the-minute data as the results are coming in.page_size
argument to thecandidates_elected
endpointScreenshots
Expected
A
page_size
argument is provided, or the default page size is not tinyActual
The page size is tiny
Additional Details
wget
andrequests
The text was updated successfully, but these errors were encountered: