I am wanting to find out the total number of Topsy Response objects
from /search for a given time period, defined by query parameters
[minTime,maxTime].
In looking at the API docs for the /searchcount Resource, I am left
with a few questions:
1) Will this call be able to take the time window for the search based
on a [minTime, maxTime] ?
2) What do the fields {w,h,a,d,m} mean in the response?
It seems like the /searchcount Resource returned does not take into account the [mintime,maxtime] window, and instead returns
a = all tweets from the current time m = the tweets from the last month w = the tweets from the last week d = the tweets from the last day h = the tweets from the last hour
Not 100% sure that /searchcount does indeed ignore any [mintime, maxtime] though, but I think so at this point...
On Wed, Mar 21, 2012 at 3:00 AM, Ed <macker...@gmail.com> wrote: > Hello
> I am wanting to find out the total number of Topsy Response objects > from /search for a given time period, defined by query parameters > [minTime,maxTime].
> In looking at the API docs for the /searchcount Resource, I am left > with a few questions:
> 1) Will this call be able to take the time window for the search based > on a [minTime, maxTime] ?
> 2) What do the fields {w,h,a,d,m} mean in the response?
Correct, /searchcount does not take regular list parameters that a lot of other calls do, so it will ignore mintime and maxtime. Instead, it does the different time windows. You can also get a dynamic window that will pick the best window based on recent activity spikes.
> It seems like the /searchcount Resource returned does not take into > account the [mintime,maxtime] window, and instead returns
> a = all tweets from the current time > m = the tweets from the last month > w = the tweets from the last week > d = the tweets from the last day > h = the tweets from the last hour
> Not 100% sure that /searchcount does indeed ignore any [mintime, maxtime] > though, but I think so at this point...
> Thanks > Ed
> On Wed, Mar 21, 2012 at 3:00 AM, Ed <macker...@gmail.com> wrote:
>> Hello
>> I am wanting to find out the total number of Topsy Response objects >> from /search for a given time period, defined by query parameters >> [minTime,maxTime].
>> In looking at the API docs for the /searchcount Resource, I am left >> with a few questions:
>> 1) Will this call be able to take the time window for the search based >> on a [minTime, maxTime] ?
>> 2) What do the fields {w,h,a,d,m} mean in the response?