We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm attempting to limit the number of event results returned to just the last couple of days:
r = irw.results_archive(event_types=(ct.EVENT_RACE,), date_range=('2014-07-16','2014-07-18')) print(r[1])
That prints out 76, which is my total number of races ever.
The text was updated successfully, but these errors were encountered:
I worked it out.
I should have mentioned that I'm running this in python 2.7.
I found that I had to import Decimal and then do this kind of thing:
data['starttime_low'] = Decimal(tc(date_range[0]))
Sorry, something went wrong.
No branches or pull requests
I'm attempting to limit the number of event results returned to just the last couple of days:
That prints out 76, which is my total number of races ever.
The text was updated successfully, but these errors were encountered: