You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
447 B
Python

from typing import Text
import requests
import json
def main():
print("List of users recently watched quickemu:")
print("-------------------")
r = requests.get('https://api.github.com/users/quickemu-project/events')
json_data = json.loads(r.text)
for i in json_data:
if i['type'] == "WatchEvent":
print(i['actor']['display_login'])
print("-------------------")
if __name__ == '__main__':
main()