Ask coding questions

← Back to all posts
How to set cloud variables using the scratch-api package?
DREWNOLT (29)

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.

Comments
hotnewtop
DREWNOLT (29)

@ch1ck3n Should the fact that the project's unshared make a difference?

ch1ck3n (2380)

@DREWNOLT Why not check for yourself

QuantumCodes (26)

It should not be unshared i guess. Better share on your alternate if you dont want anyone to [email protected]

DREWNOLT (29)

Here is the scratch project id: 546525463