Skip to content

Instantly share code, notes, and snippets.

@tomac4t
Created March 30, 2024 13:31
Show Gist options
  • Save tomac4t/634f414c3bea49d72c4ece5bdb42d5d5 to your computer and use it in GitHub Desktop.
Save tomac4t/634f414c3bea49d72c4ece5bdb42d5d5 to your computer and use it in GitHub Desktop.
import requests
# replace github personal token
ghp = 'ghp_xxxxxxxxxxxxxxxxxxxxxxxxx'
username = 'JiaT75'
p = 0
def event(p):
params = {
'per_page': '100',
'page': p,
}
headers = {
'Accept': 'application/vnd.github+json',
'X-GitHub-Api-Version': '2022-11-28',
'Authorization': 'Bearer ' + ghp,
}
response = requests.get('https://api.github.com/users/' + username + '/events', params=params, headers=headers)
json = response.json()
for i in range (0, len(json)):
print(json[i]["id"], json[i]["type"], json[i]["repo"]["name"], json[i]["created_at"], sep=',')
if len(json) < 100:
exit(0)
while True:
p = p + 1
event(p)
@tomac4t
Copy link
Author

tomac4t commented Apr 1, 2024

@JiaT75's events:

id events_type repo_name created_at
36971078095 PushEvent tukaani-project/xz-java 2024-03-28T14:59:59Z
36967758515 DeleteEvent tukaani-project/xz-embedded 2024-03-28T13:27:31Z
36889922988 PushEvent tukaani-project/xz-embedded 2024-03-26T12:11:30Z
36889854707 PushEvent tukaani-project/xz 2024-03-26T12:09:32Z
36862860206 PushEvent tukaani-project/xz-embedded 2024-03-25T17:14:47Z
36862692627 PushEvent tukaani-project/xz-embedded 2024-03-25T17:08:06Z
36862044442 CreateEvent tukaani-project/xz-embedded 2024-03-25T16:47:59Z
36857572517 PushEvent tukaani-project/.github 2024-03-25T14:44:34Z
36800991269 PushEvent tukaani-project/tukaani-project.github.io 2024-03-22T14:56:41Z
36800913935 PushEvent tukaani-project/tukaani-project.github.io 2024-03-22T14:54:25Z
36800815611 ReleaseEvent tukaani-project/xz-embedded 2024-03-22T14:51:38Z
36800423655 CreateEvent tukaani-project/xz-embedded 2024-03-22T14:40:30Z
36800411254 PushEvent tukaani-project/xz-embedded 2024-03-22T14:40:08Z
36795877923 DeleteEvent tukaani-project/xz-embedded 2024-03-22T12:23:35Z
36795871824 PushEvent tukaani-project/xz-embedded 2024-03-22T12:23:23Z
36795637797 PushEvent tukaani-project/xz-embedded 2024-03-22T12:15:30Z
36794882620 CreateEvent tukaani-project/xz-embedded 2024-03-22T11:48:30Z
36794556219 PushEvent tukaani-project/tukaani-project.github.io 2024-03-22T11:36:21Z
36681113939 PushEvent tukaani-project/xz-embedded 2024-03-19T11:47:53Z
36518374125 IssueCommentEvent tukaani-project/xz 2024-03-13T16:12:30Z
36517549348 IssueCommentEvent tukaani-project/xz 2024-03-13T15:50:19Z
36516698181 IssueCommentEvent tukaani-project/xz 2024-03-13T15:27:53Z
36514986121 IssueCommentEvent tukaani-project/xz 2024-03-13T14:44:50Z
36437869833 IssuesEvent tukaani-project/xz 2024-03-11T14:37:02Z
36437870498 IssueCommentEvent tukaani-project/xz 2024-03-11T14:37:03Z
36432535971 WatchEvent openbsd/ports 2024-03-11T12:18:20Z
36395915451 IssueCommentEvent tukaani-project/xz 2024-03-09T12:00:46Z
36395267452 PushEvent tukaani-project/tukaani-project.github.io 2024-03-09T10:46:06Z
36395255288 ReleaseEvent tukaani-project/xz 2024-03-09T10:44:38Z
36395224433 CreateEvent tukaani-project/xz 2024-03-09T10:40:57Z
36395217842 PushEvent tukaani-project/xz 2024-03-09T10:40:12Z
36394758665 PushEvent tukaani-project/xz 2024-03-09T09:51:04Z
36394640109 CreateEvent tukaani-project/xz 2024-03-09T09:36:25Z
36371407694 PushEvent tukaani-project/tukaani-project.github.io 2024-03-08T12:06:53Z
36346722401 PushEvent tukaani-project/tukaani-project.github.io 2024-03-07T17:44:35Z
36254887856 DeleteEvent tukaani-project/xz 2024-03-05T10:18:48Z
36232270244 PushEvent tukaani-project/xz 2024-03-04T17:55:15Z
36231827509 PushEvent tukaani-project/xz 2024-03-04T17:40:09Z
36231012506 PushEvent tukaani-project/xz 2024-03-04T17:14:39Z
36230152023 PushEvent tukaani-project/xz 2024-03-04T16:49:22Z
36226214772 CreateEvent tukaani-project/xz 2024-03-04T15:01:19Z
36185611116 PullRequestReviewEvent tukaani-project/xz 2024-03-02T13:32:49Z
36185611139 PullRequestReviewCommentEvent tukaani-project/xz 2024-03-02T13:32:48Z
36185604646 PullRequestReviewCommentEvent tukaani-project/xz 2024-03-02T13:32:01Z
36185604622 PullRequestReviewEvent tukaani-project/xz 2024-03-02T13:32:02Z
36185534622 PullRequestReviewCommentEvent tukaani-project/xz 2024-03-02T13:23:56Z
36185534595 PullRequestReviewEvent tukaani-project/xz 2024-03-02T13:23:57Z
36185487479 IssueCommentEvent tukaani-project/xz 2024-03-02T13:18:34Z
36135286918 IssueCommentEvent tukaani-project/xz 2024-02-29T17:35:39Z
36135121278 PullRequestReviewCommentEvent tukaani-project/xz 2024-02-29T17:30:09Z
36135121193 PullRequestReviewEvent tukaani-project/xz 2024-02-29T17:30:10Z
36134053717 PullRequestReviewCommentEvent tukaani-project/xz 2024-02-29T16:56:54Z
36134053623 PullRequestReviewEvent tukaani-project/xz 2024-02-29T16:56:55Z
36134025507 PullRequestReviewEvent tukaani-project/xz 2024-02-29T16:56:03Z
36134025567 PullRequestReviewCommentEvent tukaani-project/xz 2024-02-29T16:56:02Z
36134010125 PullRequestReviewCommentEvent tukaani-project/xz 2024-02-29T16:55:33Z
36134010019 PullRequestReviewEvent tukaani-project/xz 2024-02-29T16:55:34Z
36133902411 PullRequestReviewCommentEvent tukaani-project/xz 2024-02-29T16:52:14Z
36133902340 PullRequestReviewEvent tukaani-project/xz 2024-02-29T16:52:15Z
36133829285 PullRequestReviewEvent tukaani-project/xz 2024-02-29T16:50:01Z
36133829359 PullRequestReviewCommentEvent tukaani-project/xz 2024-02-29T16:50:00Z
36133701368 PullRequestReviewCommentEvent tukaani-project/xz 2024-02-29T16:46:10Z
36133701277 PullRequestReviewEvent tukaani-project/xz 2024-02-29T16:46:11Z
36133657018 PullRequestReviewCommentEvent tukaani-project/xz 2024-02-29T16:44:51Z
36133656931 PullRequestReviewEvent tukaani-project/xz 2024-02-29T16:44:52Z
36133558185 PullRequestReviewEvent tukaani-project/xz 2024-02-29T16:42:00Z
36133558348 PullRequestReviewCommentEvent tukaani-project/xz 2024-02-29T16:41:59Z
36133304739 PullRequestReviewCommentEvent tukaani-project/xz 2024-02-29T16:34:27Z
36133304667 PullRequestReviewEvent tukaani-project/xz 2024-02-29T16:34:28Z
36133264412 IssueCommentEvent tukaani-project/xz 2024-02-29T16:33:20Z
36095147305 PushEvent tukaani-project/xz 2024-02-28T16:19:35Z
36094708693 PushEvent tukaani-project/xz 2024-02-28T16:07:33Z
36088909356 IssueCommentEvent tukaani-project/xz 2024-02-28T13:33:25Z
36058249070 IssueCommentEvent tukaani-project/xz 2024-02-27T16:53:48Z
36055778221 CreateEvent tukaani-project/xz 2024-02-27T15:48:22Z
36048361015 PushEvent tukaani-project/tukaani-project.github.io 2024-02-27T12:29:17Z
36048204230 IssueCommentEvent tukaani-project/xz 2024-02-27T12:24:36Z
36015903811 PushEvent tukaani-project/xz 2024-02-26T15:41:14Z
36015711401 PushEvent tukaani-project/xz 2024-02-26T15:36:07Z
36015710314 PullRequestEvent tukaani-project/xz 2024-02-26T15:36:05Z
36015579268 DeleteEvent tukaani-project/xz 2024-02-26T15:32:33Z
36015494255 IssueCommentEvent tukaani-project/xz 2024-02-26T15:30:21Z
36015415972 PushEvent tukaani-project/xz 2024-02-26T15:28:19Z
36015176508 PushEvent tukaani-project/xz 2024-02-26T15:22:10Z
36014774118 CreateEvent tukaani-project/xz 2024-02-26T15:11:55Z
36010400106 PushEvent tukaani-project/tukaani-project.github.io 2024-02-26T13:16:06Z
36008445992 IssueCommentEvent tukaani-project/xz 2024-02-26T12:20:09Z
36007999290 PushEvent tukaani-project/xz 2024-02-26T12:07:43Z
36007816305 IssueCommentEvent tukaani-project/xz 2024-02-26T12:02:10Z
36007677930 PushEvent tukaani-project/xz 2024-02-26T11:57:55Z
36007397698 IssueCommentEvent tukaani-project/xz 2024-02-26T11:49:04Z
35984754021 PushEvent tukaani-project/xz 2024-02-25T13:42:52Z
35984735168 DeleteEvent tukaani-project/xz 2024-02-25T13:41:06Z
35984734765 DeleteEvent tukaani-project/xz 2024-02-25T13:41:03Z
35978949213 IssueCommentEvent tukaani-project/xz 2024-02-25T03:28:00Z
35969552568 IssueCommentEvent tukaani-project/xz 2024-02-24T11:19:45Z
35968815073 PushEvent tukaani-project/xz 2024-02-24T10:09:03Z
35968768570 PushEvent tukaani-project/tukaani-project.github.io 2024-02-24T10:04:33Z
35968764020 ReleaseEvent tukaani-project/xz 2024-02-24T10:04:07Z
35968741011 CreateEvent tukaani-project/xz 2024-02-24T10:01:50Z
35968222802 CreateEvent tukaani-project/xz 2024-02-24T09:06:52Z
35951061074 DeleteEvent tukaani-project/xz 2024-02-23T15:46:22Z
35950985334 DeleteEvent tukaani-project/xz 2024-02-23T15:43:57Z
35946125941 PushEvent tukaani-project/xz 2024-02-23T13:15:14Z
35946094654 PushEvent tukaani-project/xz 2024-02-23T13:14:15Z
35945274712 PushEvent tukaani-project/xz 2024-02-23T12:48:54Z
35919519585 PushEvent tukaani-project/xz 2024-02-22T17:24:19Z
35914855225 CreateEvent tukaani-project/xz 2024-02-22T15:12:43Z
35914669212 PushEvent tukaani-project/xz 2024-02-22T15:07:49Z
35914542105 PushEvent tukaani-project/xz 2024-02-22T15:04:33Z
35913115955 PushEvent tukaani-project/xz 2024-02-22T14:27:52Z
35909650411 PushEvent tukaani-project/xz 2024-02-22T12:50:59Z
35908949212 PushEvent tukaani-project/xz 2024-02-22T12:29:53Z
35908787124 PushEvent tukaani-project/xz 2024-02-22T12:24:57Z
35907753143 PushEvent tukaani-project/xz 2024-02-22T11:52:48Z
35881655999 PushEvent tukaani-project/xz 2024-02-21T17:43:31Z
35880105311 PushEvent tukaani-project/xz 2024-02-21T16:58:49Z
35880065732 PushEvent tukaani-project/xz 2024-02-21T16:57:46Z
35879346701 PushEvent tukaani-project/xz 2024-02-21T16:37:07Z
35874787724 CreateEvent tukaani-project/xz 2024-02-21T14:37:25Z
35840334762 CreateEvent tukaani-project/xz 2024-02-20T16:33:10Z
35838034771 PushEvent tukaani-project/xz 2024-02-20T15:33:05Z
35832865854 PushEvent tukaani-project/xz 2024-02-20T13:14:52Z
35763916139 PushEvent tukaani-project/xz 2024-02-17T17:14:55Z
35762352140 IssueCommentEvent tukaani-project/xz 2024-02-17T14:31:24Z
35762352031 PullRequestEvent tukaani-project/xz 2024-02-17T14:31:23Z
35761601523 PushEvent tukaani-project/xz 2024-02-17T13:13:54Z
35741455037 PushEvent tukaani-project/xz 2024-02-16T14:55:19Z
35706873526 PushEvent tukaani-project/xz 2024-02-15T14:28:08Z
35680386948 PushEvent tukaani-project/xz 2024-02-14T18:25:15Z
35680237463 PushEvent tukaani-project/tukaani-project.github.io 2024-02-14T18:19:36Z
35680066954 ReleaseEvent tukaani-project/xz 2024-02-14T18:13:29Z
35679865109 CreateEvent tukaani-project/xz 2024-02-14T18:05:56Z
35641085617 PushEvent tukaani-project/xz 2024-02-13T15:34:01Z
35610298858 PushEvent tukaani-project/xz 2024-02-12T17:57:06Z
35600397783 DeleteEvent JiaT75/oss-fuzz 2024-02-12T12:43:38Z
35600385700 DeleteEvent JiaT75/oss-fuzz 2024-02-12T12:43:14Z
35571047199 PullRequestEvent google/oss-fuzz 2024-02-10T16:13:09Z
35571041541 CreateEvent JiaT75/oss-fuzz 2024-02-10T16:12:29Z
35571028181 PullRequestEvent google/oss-fuzz 2024-02-10T16:10:54Z
35571009846 CreateEvent JiaT75/oss-fuzz 2024-02-10T16:08:51Z
35570962656 DeleteEvent JiaT75/oss-fuzz 2024-02-10T16:03:24Z
35570942775 PushEvent JiaT75/oss-fuzz 2024-02-10T16:01:08Z
35553085358 PushEvent tukaani-project/xz 2024-02-09T16:00:37Z
35546340033 PushEvent tukaani-project/xz 2024-02-09T12:09:44Z
35513623970 PushEvent tukaani-project/xz 2024-02-08T12:10:43Z
35482293416 PushEvent tukaani-project/xz 2024-02-07T14:04:54Z
35322513331 PushEvent tukaani-project/xz 2024-02-01T17:42:02Z
35312779576 DeleteEvent tukaani-project/xz 2024-02-01T12:57:09Z
35312636678 PullRequestEvent tukaani-project/xz 2024-02-01T12:52:50Z
35312636365 PushEvent tukaani-project/xz 2024-02-01T12:52:49Z
35311706041 PushEvent tukaani-project/xz 2024-02-01T12:24:12Z
35286017405 PushEvent tukaani-project/xz 2024-01-31T17:45:59Z
35284044733 PushEvent tukaani-project/xz 2024-01-31T16:41:08Z
35283508870 PushEvent tukaani-project/xz 2024-01-31T16:24:51Z
35282818159 PushEvent tukaani-project/xz 2024-01-31T16:04:26Z
35281643209 IssuesEvent tukaani-project/xz 2024-01-31T15:30:34Z
35274808131 IssueCommentEvent tukaani-project/xz 2024-01-31T12:02:59Z
35274571320 PushEvent tukaani-project/xz 2024-01-31T11:54:46Z
35240414254 IssueCommentEvent tukaani-project/xz 2024-01-30T12:58:43Z
35240167261 PushEvent tukaani-project/xz 2024-01-30T12:51:15Z
35205472074 PushEvent tukaani-project/xz 2024-01-29T13:50:48Z
35202178763 PushEvent tukaani-project/xz 2024-01-29T12:08:42Z
35171295017 IssueCommentEvent tukaani-project/xz 2024-01-27T16:20:00Z
35171224807 PushEvent tukaani-project/xz 2024-01-27T16:12:13Z
35171164857 CreateEvent tukaani-project/xz 2024-01-27T16:05:38Z
35148676986 DeleteEvent tukaani-project/xz 2024-01-26T13:01:14Z
35147862079 PushEvent tukaani-project/tukaani-project.github.io 2024-01-26T12:27:04Z
35147749406 ReleaseEvent tukaani-project/xz 2024-01-26T12:22:12Z
35147625090 ReleaseEvent tukaani-project/xz 2024-01-26T12:16:54Z
35147541972 CreateEvent tukaani-project/xz 2024-01-26T12:13:18Z
35147535422 CreateEvent tukaani-project/xz 2024-01-26T12:13:01Z
35147504148 PushEvent tukaani-project/xz 2024-01-26T12:11:38Z
35147497710 PushEvent tukaani-project/xz 2024-01-26T12:11:22Z
35124989466 PushEvent tukaani-project/xz 2024-01-25T16:39:48Z
35093243137 DeleteEvent tukaani-project/xz 2024-01-24T17:49:57Z
35093229766 PushEvent tukaani-project/xz 2024-01-24T17:49:27Z
35092965458 PushEvent tukaani-project/xz 2024-01-24T17:39:51Z
35092756440 PushEvent tukaani-project/xz 2024-01-24T17:32:01Z
35092440577 PushEvent tukaani-project/xz 2024-01-24T17:21:18Z
35092049868 PushEvent tukaani-project/xz 2024-01-24T17:07:57Z
35090580878 PushEvent tukaani-project/xz 2024-01-24T16:19:41Z
35090489693 PushEvent tukaani-project/xz 2024-01-24T16:16:53Z
35090354225 PushEvent tukaani-project/xz 2024-01-24T16:12:40Z
35089546529 CreateEvent tukaani-project/xz 2024-01-24T15:47:44Z
35087016295 PushEvent tukaani-project/xz 2024-01-24T14:32:56Z
35082543829 ReleaseEvent tukaani-project/xz-embedded 2024-01-24T12:12:58Z
35082543486 PushEvent tukaani-project/tukaani-project.github.io 2024-01-24T12:12:57Z
35082484498 CreateEvent tukaani-project/xz-embedded 2024-01-24T12:10:59Z
35056825849 DeleteEvent tukaani-project/xz 2024-01-23T16:41:24Z
35055329739 PushEvent tukaani-project/xz 2024-01-23T15:57:07Z
35053929759 PushEvent tukaani-project/xz 2024-01-23T15:17:33Z
35051844364 PushEvent tukaani-project/xz 2024-01-23T14:18:44Z
35049188013 CommitCommentEvent tukaani-project/xz 2024-01-23T12:56:35Z
35019786614 PushEvent tukaani-project/xz 2024-01-22T15:34:19Z
35012930109 PushEvent tukaani-project/xz 2024-01-22T12:06:26Z
34966128336 PushEvent tukaani-project/tukaani-project.github.io 2024-01-19T15:58:20Z
34965682347 PushEvent tukaani-project/xz-java 2024-01-19T15:42:21Z
34965623623 DeleteEvent tukaani-project/xz-embedded 2024-01-19T15:40:17Z
34965623090 DeleteEvent tukaani-project/xz-embedded 2024-01-19T15:40:16Z
34965596750 PushEvent tukaani-project/xz-embedded 2024-01-19T15:39:19Z
34965178028 DeleteEvent tukaani-project/xz-java 2024-01-19T15:24:47Z
34964954956 PushEvent tukaani-project/xz-java 2024-01-19T15:17:02Z
34964740945 DeleteEvent tukaani-project/xz 2024-01-19T15:09:41Z
34964714848 PushEvent tukaani-project/xz 2024-01-19T15:08:47Z
34963970534 PushEvent tukaani-project/xz 2024-01-19T14:43:25Z
34963653708 PushEvent tukaani-project/xz 2024-01-19T14:32:29Z
34963193189 PushEvent tukaani-project/tukaani-project.github.io 2024-01-19T14:17:19Z
34959943739 PushEvent tukaani-project/tukaani-project.github.io 2024-01-19T12:18:41Z
34932924843 PushEvent tukaani-project/xz 2024-01-18T15:05:38Z
34929341551 PushEvent tukaani-project/xz-java 2024-01-18T13:16:09Z
34928590057 PushEvent tukaani-project/tukaani-project.github.io 2024-01-18T12:51:41Z
34894655921 PushEvent tukaani-project/tukaani-project.github.io 2024-01-17T12:41:17Z
34894312682 PushEvent tukaani-project/tukaani-project.github.io 2024-01-17T12:29:43Z
34893756251 WatchEvent tukaani-project/xz-java 2024-01-17T12:10:43Z
34871842135 PushEvent tukaani-project/xz 2024-01-16T18:54:11Z
34863550876 WatchEvent madler/zlib 2024-01-16T14:08:14Z
34862369489 PushEvent tukaani-project/xz 2024-01-16T13:31:12Z
34862043532 PushEvent tukaani-project/tukaani-project.github.io 2024-01-16T13:20:44Z
34859931818 PushEvent tukaani-project/xz 2024-01-16T12:10:44Z
34859874374 PushEvent tukaani-project/xz-embedded 2024-01-16T12:08:46Z
34859867935 PushEvent tukaani-project/xz-java 2024-01-16T12:08:33Z
34839191780 PushEvent tukaani-project/tukaani-project.github.io 2024-01-15T17:41:09Z
34834340430 PushEvent tukaani-project/tukaani-project.github.io 2024-01-15T14:42:56Z
34832443956 IssueCommentEvent tukaani-project/xz-java 2024-01-15T13:41:37Z
34801240821 PushEvent tukaani-project/tukaani-project.github.io 2024-01-13T16:01:10Z
34801109218 PushEvent tukaani-project/tukaani-project.github.io 2024-01-13T15:45:05Z
34801018122 PushEvent tukaani-project/tukaani-project.github.io 2024-01-13T15:33:58Z
34799883394 PushEvent tukaani-project/tukaani-project.github.io 2024-01-13T13:19:25Z
34781426541 PushEvent tukaani-project/tukaani-project.github.io 2024-01-12T14:29:03Z
34755292607 PushEvent tukaani-project/tukaani-project.github.io 2024-01-11T17:16:22Z
34749295062 IssueCommentEvent tukaani-project/xz 2024-01-11T14:05:33Z
34714000165 WatchEvent google/cpu_features 2024-01-10T13:06:10Z
34712416840 IssueCommentEvent tukaani-project/xz 2024-01-10T12:12:53Z
34680933875 CreateEvent tukaani-project/xz 2024-01-09T12:46:06Z
34652923599 PushEvent tukaani-project/xz 2024-01-08T15:11:40Z
34650189179 IssueCommentEvent tukaani-project/xz 2024-01-08T13:44:08Z
34602520419 PushEvent JiaT75/oss-fuzz 2024-01-05T14:53:11Z
34600111904 IssueCommentEvent tukaani-project/xz 2024-01-05T13:17:52Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment