来自 github 的订阅者姓名
Subscriber names from github
我正在试验大查询。到目前为止,我已经能够获得观看过存储库的人数。是否可以获取已观看存储库的订阅者的用户名?
谢谢
您可以使用事件获取存储库的参与者登录名。 Activity 从 2015 年 1 月 1 日开始的日期存档是从事件 API..
中记录的
SELECT actor.login FROM (
TABLE_DATE_RANGE
( [githubarchive:day.events_]
, TIMESTAMP('2015-01-01')
, TIMESTAMP('2015-03-01') )
)
where type='WatchEvent' and repo.name = 'ptrofimov/beanstalk_console'
2014 年活动
SELECT actor FROM (
TABLE_QUERY([githubarchive:month],
'REGEXP_MATCH(table_id, r"^20140\d")'
))
WHERE type = 'WatchEvent' and repository_name='beanstalk_console' and repository_owner='ptrofimov'
我正在试验大查询。到目前为止,我已经能够获得观看过存储库的人数。是否可以获取已观看存储库的订阅者的用户名?
谢谢
您可以使用事件获取存储库的参与者登录名。 Activity 从 2015 年 1 月 1 日开始的日期存档是从事件 API..
中记录的SELECT actor.login FROM (
TABLE_DATE_RANGE
( [githubarchive:day.events_]
, TIMESTAMP('2015-01-01')
, TIMESTAMP('2015-03-01') )
)
where type='WatchEvent' and repo.name = 'ptrofimov/beanstalk_console'
2014 年活动
SELECT actor FROM (
TABLE_QUERY([githubarchive:month],
'REGEXP_MATCH(table_id, r"^20140\d")'
))
WHERE type = 'WatchEvent' and repository_name='beanstalk_console' and repository_owner='ptrofimov'