scratchclient
scratchclient copied to clipboard
A scratch API wrapper for Python.
You could cause changes to cloud variables with this library you need to fix it
I got the following error: Traceback (most recent call last): File "/home/cosmos/SC_client.py", line 8, in connection = session.create_cloud_connection(project_id) File "/home/cosmos/.local/lib/python3.9/site-packages/scratchclient/ScratchSession.py", line 170, in create_cloud_connection else CloudConnection(project_id, self, cloud_host, headers) File...
I followed the code example shown in the PyPi page and the post_comment() function doesn't work?
Get it [here](https://github.com/aspizu/scratchapi)...
Whenever I try to comment on anything, no matter what it is, I get the error "You are not allowed to do that".
This is an error I get on a fresh install and the only code is the login code. This is running on replit. ```File "/home/runner/scratchbot/venv/lib/python3.8/site-packages/scratchclient/ScratchSession.py", line 31, in __init__ self.login(password)...
I have the following code ` from scratchclient import ScratchSession import time USERNAME = "username" PASSWORD = "password" PROJECT_ID = "project_id" print("Logging in...") session = ScratchSession(USERNAME, PASSWORD) print("Logged in successfully.")...