Activity method >> Events method, to many calls?

0 views
Skip to first unread message

aris

unread,
Nov 29, 2007, 11:35:04 AM11/29/07
to Digg API
Hello. The Activity API says it is deprecated, and that we should use
the Events API method.
I want to create a graph showing how many diggs were in each day in
the last 10 days for an specific story. To do that with the Events
method I will need to call 10 times the Events method (using the
count=0 param), is that ok? Isn't that, abusing the API?

Thanks

Steve Williams

unread,
Nov 29, 2007, 11:58:15 AM11/29/07
to dig...@googlegroups.com
At 08:35 AM 11/29/2007, aris wrote:
>... I will need to call 10 times the Events method (using the
>count=0 param), is that ok? Isn't that, abusing the API?

No, in fact that's what we want you to do instead of using the
Activity endpoint: When you request the data over several HTTP
requests, each request completes more quickly than would a single
request to the Activity endpoint. Our system runs smoother when HTTP
requests complete more quickly.

It won't be seen as abuse.

aris

unread,
Dec 1, 2007, 6:23:51 PM12/1/07
to Digg API
Perfect!

Thanks
Reply all
Reply to author
Forward
0 new messages