scratch-api
scratch-api copied to clipboard
An API to interact with the Scratch website
Hello! I was wondering if this no longer works as when I debug the json returns from the requests, I get a too many requests or an html file with...
I’m having a new error in my code. I have **2** projects using this api, and now they both say “cannot read properties of user.cloudSession of undefined.” I wouldn’t have...
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
Here is the code I used: ```js Scratch.UserSession.load(function(err, user) { if (err) return console.error(err) user.cloudSession(642505948, function(err, cloud) { if(err) return console.error(err) cloudSession = cloud }); }); ``` Here is the...
Ok, so I just installed this and I can't figure out what I'm doing wrong: I'm using the example backpack script (in the README), and my command prompt is prompting...
I am working on making an API that will give the user the number of messages they have. I have the following code: ```js var Scratch = require('scratch-api'); var fetch...
using `cloud.on('set',...` you should be able to get the username of the person who set a variable, but I do not see that feature in your API. You should consider...
I can't send a comment with the API because I don't know how to make the JSON object. Can I have example JSON? This is my object ```javascript {"project":"468890572","content":"the button...