Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » How do you set cloud variables in python using websockets?
- Zerofile
-
Scratcher
100+ posts
How do you set cloud variables in python using websockets?
read the cloudmonitor
- LandonHarter
-
Scratcher
1000+ posts
How do you set cloud variables in python using websockets?
read the cloudmonitor
How do you read the data of cloud variables in python.
- Sheep_maker
-
Scratcher
1000+ posts
How do you set cloud variables in python using websockets?
read the cloud monitor in pythonread the cloudmonitorHow do you read the data of cloud variables in python.
- SpaceBoy234
-
Scratcher
78 posts
How do you set cloud variables in python using websockets?
Last edited by SpaceBoy234 (Sept. 6, 2020 20:57:59)
- 1a3c5e7g9i
-
Scratcher
100+ posts
How do you set cloud variables in python using websockets?
# Makes one request for 100 changes in this project's (12785898) cloud data. import requests, json cloud_data = requests.get('https://clouddata.scratch.mit.edu/logs?projectid=12785898&limit=100&offset=0') # Converts to a readily useable format if successful. if cloud_data.ok: cloud_data_json = json.loads(cloud_data.content) else: #Forbidden access? print("Error: " + cloud_data.reason)
- JackK211424
-
Scratcher
500+ posts
How do you set cloud variables in python using websockets?
I think they mean actually doing it.
I have heard of this, never tried it though so I don't know if it works.
I have heard of this, never tried it though so I don't know if it works.
- JackK211424
-
Scratcher
500+ posts
How do you set cloud variables in python using websockets?
Ok nevermind lolI think they mean actually doing it.That does not work
I have heard of this, never tried it though so I don't know if it works.
- 9gr
-
Scratcher
1000+ posts
How do you set cloud variables in python using websockets?
Use websocketsbump
I'm not a python guy I'm a JS guy anyway

google it yourself
Last edited by 9gr (Feb. 27, 2021 07:25:24)
- ninjaMAR
-
Scratcher
1000+ posts
How do you set cloud variables in python using websockets?
I knowUse websocketsbump
I'm not a python guy I'm a JS guy anyway
google it yourself
- Chiroyce
-
Scratcher
1000+ posts
How do you set cloud variables in python using websockets?
You can setup a Websockets connection to the server with a handshake, but we don't know how and where to include cookies and credentials.
- ninjaMAR
-
Scratcher
1000+ posts
How do you set cloud variables in python using websockets?
You can setup a Websockets connection to the server with a handshake, but we don't know how and where to include cookies and credentials.I used you and @pufferfish_test code as an example
- Discussion Forums
- » Advanced Topics
-
» How do you set cloud variables in python using websockets?








