TurboWarp / extensions

User-contributed unsandboxed extension gallery for TurboWarp
https://extensions.turbowarp.org/
MIT License
109 stars 225 forks source link

Extension to interact with the public Scratch API #211

Open GarboMuffin opened 1 year ago

GarboMuffin commented 1 year ago

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.

DNin01 commented 1 year ago

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

GarboMuffin commented 1 year ago

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)

Mickmick2012 commented 1 year ago

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

Dy-tech commented 1 year ago

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

LilyMakesThings commented 1 year ago

@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.

Dy-tech commented 1 year ago

@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?

LilyMakesThings commented 1 year ago

@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

yuri-kiss commented 1 year ago

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

yuri-kiss commented 1 year ago

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

Flappy25 commented 1 year ago

@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?

CST1229 commented 1 year ago

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.)

pumpkinhasapatch commented 10 months ago

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