extensions icon indicating copy to clipboard operation
extensions copied to clipboard

Extension to interact with the public Scratch API

Open GarboMuffin opened this issue 2 years ago • 12 comments

Could you add an extension that connects to the scratch api? Because all the other methods are complicated and the turbowarp extensions dont work with it. I would code it myself but I have no idea how.

GarboMuffin avatar Feb 28 '23 00:02 GarboMuffin

Do they mean things like getting how many views a project has?

DNin01 avatar Feb 28 '23 19:02 DNin01

I assume so

For anyone that wants to do this, you may want to either use our trampoline (https://trampoline.turbowarp.org/proxy/projects/104) or ScratchDB (we can add them to the always-allowed list if someone submits this extension)

GarboMuffin avatar Mar 07 '23 22:03 GarboMuffin

i am currently working on a prototype. I will see if it works

Mickmick21 avatar Mar 10 '23 18:03 Mickmick21

@GarboMuffin, aren't you talking about S-Grab?

Dy-tech avatar Jun 04 '23 07:06 Dy-tech

@GarboMuffin, aren't you talking about S-Grab?

S-Grab currently doesn't connect to the public Scratch API and doesn't even work for some users.

LilyMakesThings avatar Jun 04 '23 12:06 LilyMakesThings

@GarboMuffin, aren't you talking about S-Grab?

S-Grab currently doesn't connect to the public Scratch API and doesn't even work for some users.

What does it do then?

Dy-tech avatar Jun 07 '23 18:06 Dy-tech

@GarboMuffin, aren't you talking about S-Grab?

S-Grab currently doesn't connect to the public Scratch API and doesn't even work for some users.

What does it do then?

Access ScratchDB which appears to be rather unreliable

LilyMakesThings avatar Jun 07 '23 18:06 LilyMakesThings

yeah a few days ago it was not working and now it is?

yuri-kiss avatar Jun 07 '23 18:06 yuri-kiss

if scratchdb is not working it should at least try to access the proxy for turbowarp, https://trampoline.turbowarp.org/

yuri-kiss avatar Jun 07 '23 18:06 yuri-kiss

@GarboMuffin, aren't you talking about S-Grab?

S-Grab currently doesn't connect to the public Scratch API and doesn't even work for some users.

Can't we just use GET to access data from api.scratch.mit.edu?

Flappy25 avatar Jun 17 '23 08:06 Flappy25

Can't we just use GET to access data from api.scratch.mit.edu?

No, because the Scratch API does not let other sites access it. (TurboWarp uses its own API proxy to access it.)

CST1229 avatar Jun 17 '23 10:06 CST1229

PR #803 uses TurboWarp's trampoline proxy instead of ScratchDB to fetch stuff from the Scratch API.

pumpkinhasapatch avatar Aug 26 '23 12:08 pumpkinhasapatch