Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Scratch API question
- Hardmath123
- Scratcher
1000+ posts
Scratch API question
Is there an API to fetch a Scratch project as a ZIP file from the server? I know the APIs to get the project.json, and how to get a costume or sound given its hash. But getting resources one-by-one is too slow.
Thanks!
Thanks!
- Hardmath123
- Scratcher
1000+ posts
Scratch API question
I just checked a bunch of modules, and as far as I can tell there's no way to get an .sb2 other than exporting it or zipping it yourself. Sorry.
If it's a 1.4 project, you can get it at http://scratch.mit.edu/static/projects/username/projectID.sb
Well, the plan was to host snapin8r on gae and fetch the project, but since there's a 60 sec limit on queries I can't fetch resources individually. Ideas?
- nXIII
- Scratcher
1000+ posts
Scratch API question
Apparently (http://stackoverflow.com/a/8107120) you can queue tasks in the last second of the query; could you use that?I just checked a bunch of modules, and as far as I can tell there's no way to get an .sb2 other than exporting it or zipping it yourself. Sorry.
If it's a 1.4 project, you can get it at http://scratch.mit.edu/static/projects/username/projectID.sb
Well, the plan was to host snapin8r on gae and fetch the project, but since there's a 60 sec limit on queries I can't fetch resources individually. Ideas?
Last edited by nXIII (June 29, 2013 17:08:22)
- Hardmath123
- Scratcher
1000+ posts
Scratch API question
I could, but I don't think it's as good an idea.
I asked Jens if either of the servers could host Python. Do you have any idea how feasible that is?
I asked Jens if either of the servers could host Python. Do you have any idea how feasible that is?
- blob8108
- Scratcher
1000+ posts
Scratch API question
Did you try Heroku? Bryce Boe et al used it to host a Hairball uploader.
- sf97ahgf
- Scratcher
100+ posts
Scratch API question
Try ScratchAttach!
“It seems I am not the only spy.”
“Spy in our midst!”
“Spy, gentlemen!”
“Spy among us!”
“That Scout is a Spy.”
“The Soldier is a Spy.”
“The Pyro is a Spy.”
“The Demoman is a Spy.”
“The Heavy is a Spy.”
“The Engineer is a Spy.”
“The Medic is a Spy.”
“The Sniper is a Spy.”
“That Spy is an enemy!”
“That Spy is not one of us!”
- DifferentDance8
- Scratcher
1000+ posts
Scratch API question
ScratchAttach!It has literally been 9 years, 3 months and 26 days since the last post excluding yours! (not including the end date of today) Try
R.I.P Zydrolic, 2023-2024
- Steve0Greatness
- Scratcher
1000+ posts
Scratch API question
ScratchAttach!Are you kidding me? This post is likely from before you were even allowed on the internet, why are you posting on it? Try
/hj is the worst tone indicator. It's confusing and ambiguous. I hate it. The point of tone indicators is to indicate tone, or the way that a piece of text should be read, but what does “half joking” mean? Do you just wake up in the morning and think “wow, I really have something I want to talk about seriously but also kinda not, IDK you decide.” It's useless. I hate it. It just provokes a deep rooted anger within me whenever I see it. People just comment /hj as if it makes any sense. It doesn't. Oh wow, it's a tone indicator that's has a relative meaning, how useful, I'll use it in every comment I post. NO. STOP IT. You're a tone indicator, you have only one job, and yet you sit there doing nothing apart angering me.
/srs
^^^ (there's more below)
This one is useful because it tells you that this signature is fully 100% serious. (/srs) Who would've thought that tone indicators needed to tell you something about the piece of text they're attached to? /s
I'm serious, I'm not even going to put multiple (/hj)s a the end of my signature as to mock the previous paragraph for not getting the point of something(like previous version of my signature). /srs
- Discussion Forums
- » Advanced Topics
- » Scratch API question