This repository has been archived by the owner on May 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
''' | ||
ScratchTerminal by bredcat999 | ||
ver. 2022.10.25 (Early Release) | ||
''' | ||
|
||
import scratchattach as scratch3 | ||
import tkinter as tk | ||
|
||
|
||
print("Username and password please:") | ||
session = scratch3.login(input(), input()) | ||
|
||
#Splash Text | ||
print("You have been signed in.") | ||
print("Welcome to ScratchTerminal.") | ||
print("---------") | ||
print("ver. 2022.10.25.1") | ||
|
||
#updates until | ||
while 1 == 1 : | ||
|
||
|
||
print("Search user:") | ||
user = session.connect_user(input()) | ||
|
||
print("User stats:") | ||
|
||
#gets follower count | ||
print("Followers:") | ||
print(user.follower_count()) | ||
|
||
#gets project count | ||
print("Projects:") | ||
print(user.project_count()) | ||
|
||
#gets following count | ||
print("Following:") | ||
print(user.following_count()) | ||
|
||
print("Would you like to leave a comment? y/n") | ||
|
||
MenuInput = input() | ||
if MenuInput == "y" : | ||
print("Input the username of the person you want to comment on:") | ||
user = scratch3.get_user(input()) | ||
|
||
print("Comment:") | ||
user.post_comment(input(), parent_id="", commentee_id="") | ||
print("Done!") | ||
|
||
|
||
|
||
|
||
print("On standby...") | ||
|
||
|
||
|