File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99while True :
1010 # get api wrapping utility
11- utility = input ("Utility [user-projects-wrapper, exit]: " )
11+ utility = input ("Utility [user-projects-wrapper, follower-wrapping-utility, exit]: " )
1212
1313 if utility == "user-projects-wrapper" :
1414 # url
4444 print (f"Remixes: { remixes } " )
4545 print ("=" * 50 )
4646 print ("\n " )
47- if utility == "follower-wrapping-utility" :
47+
48+ elif utility == "follower-wrapping-utility" :
4849 # url
4950 url = f"https://api.scratch.mit.edu/users/{ username } /followers/"
5051 # get data
6566 # If you want to fetch and display more follower details, add additional fields here
6667 print ("=" * 50 )
6768 print ("\n " )
68- if utility == "exit" :
69- os .exit ()
70- else :
71- print ("thats not an option right now!" )
69+
70+ elif utility == "exit" :
71+ os .exit ()
72+
73+ else :
74+ print ("thats not an option right now!" )
You can’t perform that action at this time.
0 commit comments