资源说明:A Spring MVC webservice that returns hourly density of a user's tweets.
A Spring MVC webservice to find out the Tweet Density of a twitter user.
Sample URLs:
htpp://yourhost/tweetdensity/?handle=username&count=countAsNumber&type=xml
htpp://yourhost/tweetdensity/?handle=username&count=countAsNumber&type=json
htpp://yourhost/tweetdensity/?handle=username&count=countAsNumber&type=html
Sample Response JSON:
{
tweetdensity:{data:[{hour:0, count:8},{hour:1,count:18},{hour:2,count:28}, { hour:3, count:0 }, {hour:4,count:0}, {hour:5,count:0},{hour:6,count:0},{hour:7,count:0},{hour:8,count:6},{hour:9,count:26},{hour:10,count:34},{hour:11,count:20},{hour:12,count:15},{hour:13,count:15},{hour:14,count:21},{hour:15,count:28},{hour:16,count:48},{hour:17,count:58},{hour:18,count:18},{hour:19,count:8},{hour:20,count:33},{hour:21,count:10},{hour:22,count:10},{hour:23,count:8}]}
}
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。
English
