Discuss Scratch

crabraveprogrammer
Scratcher
100+ posts

The Scratch API

Yes, but with JS headers are required. Mind dropping in some code???

I like pizza. Pizza is delicious. You must agree.
ninjaMAR
Scratcher
1000+ posts

The Scratch API

crabraveprogrammer wrote:

Yes, but with JS headers are required. Mind dropping in some code???
Use scratchdb or host a server

Last edited by ninjaMAR (April 29, 2021 13:14:30)

MyticalCoder
Scratcher
7 posts

The Scratch API

Hi! Does anyone know if theres any Python library equivalent to the Scratch API?

Hi! I recently started learning Python, so you ask for help on my profile.

Current objective:
Find a way to use Python to remotely interact with Scratch cloud vars. It must follow Scratch Guidelines. If know a way to do that, talk with me on my profile!

define Python
set [The best language ever? v] to [Yes!]
Raihan142857
Scratcher
1000+ posts

The Scratch API

MyticalCoder wrote:

Hi! Does anyone know if theres any Python library equivalent to the Scratch API?
someone made a library for that

I use scratch.
GF: I'll dump you. BF: hex dump or binary dump?










AdamKRPS425
Scratcher
43 posts

The Scratch API

I need some help
I sometimes see some projects changing with cloud variables and a server or computer on the other end reads the cloud variable and changes it to something else.
I am wondering how to do this with some of my projects, changing the variable on scratch is easy enough but not so sure on the API side of things
and help about how to do this would be nice
thanks in advance!

very unfortunately, my forum signature was eaten by an evil wizard and has now run away. please select this text and press ctrl+shift+down_key to view a animation




evil wizard code::events hat
forever
if <stolen forum signiture> then
laugh [he he he!] [quietly! v]
run!!!
end
end




















hi


hi!



hi!




————
| . . |
| ____ |
| / \|
————



————
| . . |
| ____ |
| |
————



————
| . . |
| \____/ |
| |
————





























































































you have reached the end of the animation.





























BYE!!!
Chiroyce
Scratcher
1000+ posts

The Scratch API

AdamKRPS425 wrote:

I need some help
it was right above you!

Raihan142857 wrote:

someone made a library for that
you do need to know python for it … if you know javascript then you can use a NodeJS server with meow.js







April Fools' topics:
New Buildings in Scratch's headquarters
Give every Scratcher an M1 MacBook Air
Scratch should let users edit other Scratchers' projects
Make a statue for Jeffalo
Scratch Tech Tips™
Make a Chiroyce statue emoji


<img src=“x” onerror=“alert('XSS vulnerability discovered')”>

this is a test sentence
mrcoat
Scratcher
100+ posts

The Scratch API

Last edited by mrcoat (Jan. 7, 2022 16:10:18)


My cartoon
Watch My Show!
I was gonna put an image of the studio but it didn't work.

Cool thing I made
when [Awesomeness v] > (100)
forever
play sound [Victory v] until done
set rotation style [The best style v]
go to [The party v]
end
Wolfieboy09
Scratcher
100+ posts

The Scratch API

What coding languages can you use to get things from the API?

Owner and CEO of Wolfie Co.
Languages I know:
- Python
- HTML, CSS, and JS
- Java (Minecraft modding)
- And many more
ScolderCreations
Scratcher
1000+ posts

The Scratch API

Wolfieboy09 wrote:

What coding languages can you use to get things from the API?
Pretty much any good one.

scratchusername40
Scratcher
1000+ posts

The Scratch API

Wolfieboy09 wrote:

(#48)
What coding languages can you use to get things from the API?
literally any coding language should have http requests otherwise its not very good


















AdamKRPS425
Scratcher
43 posts

The Scratch API

Chiroyce wrote:

AdamKRPS425 wrote:

I need some help
it was right above you!

Raihan142857 wrote:

someone made a library for that
you do need to know python for it … if you know javascript then you can use a NodeJS server with meow.js

how did I not see that!

excellent, python is my first language then scratch, then English.

very unfortunately, my forum signature was eaten by an evil wizard and has now run away. please select this text and press ctrl+shift+down_key to view a animation




evil wizard code::events hat
forever
if <stolen forum signiture> then
laugh [he he he!] [quietly! v]
run!!!
end
end




















hi


hi!



hi!




————
| . . |
| ____ |
| / \|
————



————
| . . |
| ____ |
| |
————



————
| . . |
| \____/ |
| |
————





























































































you have reached the end of the animation.





























BYE!!!
AdamKRPS425
Scratcher
43 posts

The Scratch API

Chiroyce wrote:

AdamKRPS425 wrote:

I need some help
it was right above you!

Raihan142857 wrote:

someone made a library for that
you do need to know python for it … if you know javascript then you can use a NodeJS server with meow.js
hang on a second…
is there no official API for python?

very unfortunately, my forum signature was eaten by an evil wizard and has now run away. please select this text and press ctrl+shift+down_key to view a animation




evil wizard code::events hat
forever
if <stolen forum signiture> then
laugh [he he he!] [quietly! v]
run!!!
end
end




















hi


hi!



hi!




————
| . . |
| ____ |
| / \|
————



————
| . . |
| ____ |
| |
————



————
| . . |
| \____/ |
| |
————





























































































you have reached the end of the animation.





























BYE!!!
mrcoat
Scratcher
100+ posts

The Scratch API

#52

AdamKRPS425 wrote:

(#52)

Chiroyce wrote:

AdamKRPS425 wrote:

I need some help
it was right above you!

Raihan142857 wrote:

someone made a library for that
you do need to know python for it … if you know javascript then you can use a NodeJS server with meow.js
hang on a second…
is there no official API for python?
Definitely not an official one, but people have been making there own.

My cartoon
Watch My Show!
I was gonna put an image of the studio but it didn't work.

Cool thing I made
when [Awesomeness v] > (100)
forever
play sound [Victory v] until done
set rotation style [The best style v]
go to [The party v]
end
Sid72020123
Scratcher
500+ posts

The Scratch API

AdamKRPS425
Scratcher
43 posts

The Scratch API

mrcoat wrote:

#52

AdamKRPS425 wrote:

(#52)

Chiroyce wrote:

AdamKRPS425 wrote:

I need some help
it was right above you!

Raihan142857 wrote:

someone made a library for that
you do need to know python for it … if you know javascript then you can use a NodeJS server with meow.js
hang on a second…
is there no official API for python?
Definitely not an official one, but people have been making there own.
what is the language that the official api uses?

or is it just a set of websites like
api.scratch.mit.edu/whatever goes here
and you have to use requests(python) to use it?

Last edited by AdamKRPS425 (April 28, 2022 04:43:21)


very unfortunately, my forum signature was eaten by an evil wizard and has now run away. please select this text and press ctrl+shift+down_key to view a animation




evil wizard code::events hat
forever
if <stolen forum signiture> then
laugh [he he he!] [quietly! v]
run!!!
end
end




















hi


hi!



hi!




————
| . . |
| ____ |
| / \|
————



————
| . . |
| ____ |
| |
————



————
| . . |
| \____/ |
| |
————





























































































you have reached the end of the animation.





























BYE!!!
mrcoat
Scratcher
100+ posts

The Scratch API

AdamKRPS425 wrote:

mrcoat wrote:

#52

AdamKRPS425 wrote:

(#52)

Chiroyce wrote:

AdamKRPS425 wrote:

I need some help
it was right above you!

Raihan142857 wrote:

someone made a library for that
you do need to know python for it … if you know javascript then you can use a NodeJS server with meow.js
hang on a second…
is there no official API for python?
Definitely not an official one, but people have been making there own.
what is the language that the official api uses?

or is it just a set of websites like
api.scratch.mit.edu/whatever goes here
and you have to use requests(python) to use it?
You can use the API by just visiting the website, or you can use any language that supports web requests.

My cartoon
Watch My Show!
I was gonna put an image of the studio but it didn't work.

Cool thing I made
when [Awesomeness v] > (100)
forever
play sound [Victory v] until done
set rotation style [The best style v]
go to [The party v]
end
AdamKRPS425
Scratcher
43 posts

The Scratch API

mrcoat wrote:

AdamKRPS425 wrote:

mrcoat wrote:

#52

AdamKRPS425 wrote:

(#52)

Chiroyce wrote:

–cut–
you do need to know python for it … if you know javascript then you can use a NodeJS server with meow.js
hang on a second…
is there no official API for python?
Definitely not an official one, but people have been making there own.
what is the language that the official api uses?

or is it just a set of websites like
api.scratch.mit.edu/whatever goes here
and you have to use requests(python) to use it?
You can use the API by just visiting the website, or you can use any language that supports web requests.
right.
so someone used the requests and websocket libraries to make a more usable api and make it easier to use

Last edited by AdamKRPS425 (May 8, 2022 03:49:48)


very unfortunately, my forum signature was eaten by an evil wizard and has now run away. please select this text and press ctrl+shift+down_key to view a animation




evil wizard code::events hat
forever
if <stolen forum signiture> then
laugh [he he he!] [quietly! v]
run!!!
end
end




















hi


hi!



hi!




————
| . . |
| ____ |
| / \|
————



————
| . . |
| ____ |
| |
————



————
| . . |
| \____/ |
| |
————





























































































you have reached the end of the animation.





























BYE!!!

Powered by DjangoBB