예제 #1
0
파일: get.py 프로젝트: redjohn19/CloudMajor
def get_userinfo(uid):
	"get users info"
	l = []
	l.append(op.get_count('USERLINE',uid))
	l.append(op.get_count('FOLLOWER',uid))
	l.append(op.get_count('FOLLOWING',uid))
	return l
예제 #2
0
파일: get.py 프로젝트: redjohn19/CloudMajor
def get_timeline_count(uid):
	"get number of tweets on timeline"
	d = op.get_count('TIMELINE',uid)
	return d