-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdltest.py
More file actions
23 lines (20 loc) · 756 Bytes
/
dltest.py
File metadata and controls
23 lines (20 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from database.Twitter_Meetup_Utility import *
from social_interface.meetup import *
GroupName = "Data-Visualization-DC"
# MemberID = "146282552"
# gid = GetGroupID(GroupName)
# # comment_res = GetGroupMemberComments(gid)
# # data_res = GetGroupOpenData(gid)
# grpmem_res = GetGroupMembers(gid,OffsetLimit=2)
#
# epoch = datetime.utcfromtimestamp(0)
# now = datetime.utcnow()
# from_epoch = (now-epoch).total_seconds() *1000
# gevent_res = GetGroupEvents(gid,[0,from_epoch],Status="past")
# # event_res = GetGroupEvent(GroupName,"226826728")
#
# MemberID = grpmem_res[0]['id']
# mem_res = GetMemberData(MemberID)
# GatherMemberActivityData(GroupName)
RankMemberByActivity(GroupName,Test=True)
# SaveGroupMembers(GroupName,OFFSET_LIMIT=100)