How to set cloud variables using the scratch-api package?
I am trying to make a time API that would send the current time to a scratch project, setting the cloud variables to the time. The package used is https://github.com/trumank/scratch-api
How do I do this? If anyone knows, please send a script.
Voters
DREWNOLT
Here is the scratch project id: 546525463
https://github.com/trumank/scratch-api#CloudSession.set
@ch1ck3n Here is what I have so far: https://replit.com/@DREWNOLT/realtime#index.js
@DREWNOLT it should work
@ch1ck3n Should the fact that the project's unshared make a difference?
@DREWNOLT Why not check for yourself
It should not be unshared i guess. Better share on your alternate if you dont want anyone to [email protected]