Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Meow-js: A new API module for communicating to the scratch website.
- Chiroyce
-
Scratcher
1000+ posts
Meow-js: A new API module for communicating to the scratch website.
Vote: What should I add?as kccuber said, play the meow sound effect for every line of code executed
/j- ScolderCreations
-
Scratcher
1000+ posts
Meow-js: A new API module for communicating to the scratch website.
Could you possibly add a way to convert strings into numbers? Unless this is already a feature.
- Raihan142857
-
Scratcher
1000+ posts
Meow-js: A new API module for communicating to the scratch website.
Could you possibly add a way to convert strings into numbers? Unless this is already a feature.
parseInt(string, 10)
- gosoccerboy5
-
Scratcher
1000+ posts
Meow-js: A new API module for communicating to the scratch website.
Could you possibly add a way to convert strings into numbers? Unless this is already a feature.parseInt(string, 10)
Number("3.141592653589793");
- ScolderCreations
-
Scratcher
1000+ posts
Meow-js: A new API module for communicating to the scratch website.
Sorry, I should've clarified. Can we have a feature that converts text and symbols into numbers?
- gosoccerboy5
-
Scratcher
1000+ posts
Meow-js: A new API module for communicating to the scratch website.
Sorry, I should've clarified. Can we have a feature that converts text and symbols into numbers?like this?
- ScolderCreations
-
Scratcher
1000+ posts
Meow-js: A new API module for communicating to the scratch website.
Video won't load.Sorry, I should've clarified. Can we have a feature that converts text and symbols into numbers?like this?
- ScolderCreations
-
Scratcher
1000+ posts
Meow-js: A new API module for communicating to the scratch website.
yupSorry, I should've clarified. Can we have a feature that converts text and symbols into numbers?Encoding and Decoding right?
- wvj
-
Scratcher
1000+ posts
Meow-js: A new API module for communicating to the scratch website.
How do I set a signature with meow-js?
- 9gr
-
Scratcher
1000+ posts
Meow-js: A new API module for communicating to the scratch website.
How do I set a signature with meow-js?Install meowing as an npm module, then use this code (obviously replacing myusername to your username and etc.)
const { ScratchSession }= require("meowing") var session = new ScratchSession("myusername","mypassword") session.login().then(async () => { var siggy = await session.getSignature() await siggy.update("hello world") // sets the signature bbcode to hello world })
- wvj
-
Scratcher
1000+ posts
Meow-js: A new API module for communicating to the scratch website.
I get this errorHow do I set a signature with meow-js?Install meowing as an npm module, then use this code (obviously replacing myusername to your username and etc.)const { ScratchSession }= require("meowing") var session = new ScratchSession("myusername","mypassword") session.login().then(async () => { var siggy = await session.getSignature() await siggy.update("hello world") // sets the signature bbcode to hello world })

- Raihan142857
-
Scratcher
1000+ posts
Meow-js: A new API module for communicating to the scratch website.
Either you need to use a newer version of Node with optional chaining (use a bash repl in replit, I think) or 9gr needs to not use new syntax in his code.I get this errorHow do I set a signature with meow-js?Install meowing as an npm module, then use this code (obviously replacing myusername to your username and etc.)const { ScratchSession }= require("meowing") var session = new ScratchSession("myusername","mypassword") session.login().then(async () => { var siggy = await session.getSignature() await siggy.update("hello world") // sets the signature bbcode to hello world })
- tryon12345
-
Scratcher
2 posts
Meow-js: A new API module for communicating to the scratch website.
Cool!
when green flag clicked
set [CoolNess] to [9999]
forever
repeat (CoolNess)
say [Cool!!]
end
end
Last edited by tryon12345 (July 8, 2021 08:33:17)
- rgantzos
-
Scratcher
100+ posts
Meow-js: A new API module for communicating to the scratch website.
This seems really cool and is exactly what I've been looking for, but, how do I download it to a Chromebook that supports some Linux?
- kccuber
-
Scratcher
1000+ posts
Meow-js: A new API module for communicating to the scratch website.
This seems really cool and is exactly what I've been looking for, but, how do I download it to a Chromebook that supports some Linux?i don't think you can install node.js in a chromebook. you may be able to download it using the CLI for linux though.
edit: just search how to install nodejs on chromebook
Last edited by kccuber (July 11, 2021 22:08:48)
- 9gr
-
Scratcher
1000+ posts
Meow-js: A new API module for communicating to the scratch website.
it is now published to the github packages registry for some reason as @meow-js/meow-js
- dhuls
-
Scratcher
1000+ posts
Meow-js: A new API module for communicating to the scratch website.
bump
- wvj
-
Scratcher
1000+ posts
Meow-js: A new API module for communicating to the scratch website.
I get this errorIt works now
- Discussion Forums
- » Advanced Topics
-
» Meow-js: A new API module for communicating to the scratch website.