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
def get_timeline_count(uid): "get number of tweets on timeline" d = op.get_count('TIMELINE',uid) return d