scratchattach
scratchattach copied to clipboard
Scratch API wrapper with support for almost all site features and cloud requests framework
although using `self.__dict__.update(**kwargs)` allows for more concise code, it also causes a lot of confusion when an ide's code completion attempts to find an object's attributes. Also, using `self.__dict__.update` could...
Traceback (most recent call last): File "/Users/anon/iCloud Drive (Archive)/Desktop/Code/Python/Scratch/main.py", line 82, in project.create_remix() #Creates a remix of the project. Never spam this method. ~~~~~~~~~~~~~~~~~~~~^^ File "/Users/anon/iCloud Drive (Archive)/Desktop/Code/Python/Scratch/.venv/lib/python3.13/site-packages/scratchattach/site/project.py", line 147,...
It says that scratch will stop suporting internet explorer 8 and thats stoping my program
Scratchattach has more features than scratchclient and is still getting updates. It would be a good idea to update [this scratch wiki article](https://en.scratch-wiki.info/wiki/How_to_Access_the_Scratch_API_Using_Python_3) to use scratchattach instead of [scratchclient](https://github.com/CubeyTheCube/scratchclient)
i tried all the ways to download it on linux mint and the furthest i got was E: No se ha podido localizar el paquete scratchattach or in English that...
Minimum example project. ``` python import scratchattach as scratch3 #conn = scratch3.get_tw_cloud(contact="MinePossu", project_id = "1140007777", purpose="Test") #first one gets none, but the next one gets some variables but not all...
sessionに代入したloginで自分のアカウント(scratcherのアカウント)にログインし、projectに代入したconnect_projectを使って、project.create_remix()でリミックスしようとしました。 以下がエラーの文です。 `Traceback (most recent call last): File "c:\users\フォルダ名1\フォルダ名2\フォルダ名3\ファイル名1.py", line 11, in project.create_remix() ^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Project' object has no attribute 'create_remix'` と出てしまいました。
I only ran this part of my code: ```python import scratchattach as scratch3 from getpass import getpass # try: do_finally = True session = scratch3.login(username="fhghfvhgfv", password=getpass("Confirm password:")) conn = session.connect_tw_cloud(project_id=877175882,...
Hi, I followed your example but I am unable to make it work. Any hint what might be triggering this error? import scratchattach as sa session = sa.login("username", "password") cloud...
``` Traceback (most recent call last): File "main.py", line 160, in replyComment comment_obj = user.comment_by_id(commentID) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pi/.local/lib/python3.11/site-packages/scratchattach/site/user.py", line 730, in comment_by_id results = list(filter(lambda x : str(x.id) == str(comment_id),...