I was trying to use the counts endpoint of the 30 Day Premium API and I got it working but am confused by the results I am getting. I was testing with Trump over the past 7 days and but several days returned 0 results. Is there something I can do to prevent this from happening?
{ results:
[ { timePeriod: ‘201805300000’, count: 2087755 },
{ timePeriod: ‘201805290000’, count: 1975327 },
{ timePeriod: ‘201805280000’, count: 0 },
{ timePeriod: ‘201805270000’, count: 2097307 },
{ timePeriod: ‘201805260000’, count: 1991831 },
{ timePeriod: ‘201805250000’, count: 0 },
{ timePeriod: ‘201805240000’, count: 2809762 } ],
totalCount: 10961982,
requestParameters:
{ bucket: ‘day’,
fromDate: ‘201805240000’,
toDate: ‘201805302128’ } }