gdelt-doc-api icon indicating copy to clipboard operation
gdelt-doc-api copied to clipboard

Update startdate/enddate to also accept hours, minutes, seconds

Open RazvanN7 opened this issue 1 year ago • 0 comments

The gdelt api accepts hours, minutes, seconds however the python wrapper always assigns them to 0. Given that for articles you are limited to 250 results, this is a good way to enlarge your pool of responses by issuing more queries segmented by non-overlapping time slices (that sum up to your desired interval).

This change would break existing code, so ideally we can add some parameters like hours, minutes, seconds which default to '00', but I leave this decision to the library owner.

RazvanN7 avatar Mar 20 '24 14:03 RazvanN7