Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension to interact with the public Scratch API #211

Open
GarboMuffin opened this issue Feb 28, 2023 · 12 comments
Open

Extension to interact with the public Scratch API #211

GarboMuffin opened this issue Feb 28, 2023 · 12 comments
Labels
good first issue Good for newcomers

Comments

@GarboMuffin
Copy link
Member

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
Copy link
Contributor

DNin01 commented Feb 28, 2023

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

@GarboMuffin
Copy link
Member Author

GarboMuffin commented Mar 7, 2023

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 GarboMuffin added the good first issue Good for newcomers label Mar 7, 2023
@Mickmick21
Copy link

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

@Dy-tech
Copy link

Dy-tech commented Jun 4, 2023

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

@LilyMakesThings
Copy link
Contributor

@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
Copy link

Dy-tech commented Jun 7, 2023

@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
Copy link
Contributor

@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
Copy link
Contributor

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

@yuri-kiss
Copy link
Contributor

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

@Flappy25
Copy link

@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
Copy link
Contributor

CST1229 commented Jun 17, 2023

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

9 participants