Discuss Scratch

PrincessPanda_test_
Scratcher
1000+ posts

How to receive JSON and project data ONLINE

Ever wanted to view JSON and project notes but couldn't download? You can view them ONLINE by using HTTP requests. It's isn't that hard! Just copy the links below!

http://projects.scratch.mit.edu/internalapi/project/ID HERE/get/
This fetches JSON file.

http://cdn.scratch.mit.edu/internalapi/asset/md5/get/
This fetches contents of a resource. Not sure how to deal with this….

http://scratch.mit.edu/api/v1/project/ID HERE/?format=json
This fetches creator's username, project notes, thumbnail, and statistics.

Examples
ScratchU8 Drawing by PrincessPandaLover
JSON File
Project Details

Animal Jam Jamaa Disaster by PrincessPandaLover
JSON File
Project Details

A Lack of Brakes by scratchU8
JSON File
Project Details

Scratchnapped by griffpatch
Project Details

Under construction…

Last edited by PrincessPanda_test_ (Jan. 16, 2015 21:59:29)










On a Sunday, riding my bike,
I notice, I notice, different things that look alike
On a Sunday, riding my bike,
I notice, I notice, many many things that look alike
PrincessPanda_test_
Scratcher
1000+ posts

How to receive JSON and project data ONLINE

Bump









On a Sunday, riding my bike,
I notice, I notice, different things that look alike
On a Sunday, riding my bike,
I notice, I notice, many many things that look alike
Thepuzzlegame
Scratcher
1000+ posts

How to receive JSON and project data ONLINE

Cool! Although I believe documentation for this already exists on the Scratch Wiki.

hi!
Zro716
Scratcher
1000+ posts

How to receive JSON and project data ONLINE

yeah, I don't think it's necessary to duplicate what's on the Scratch API wiki page.

As a long time Scratcher, I have found new meaning to the name “Scratch”: for me, it means to “scratch that itch”, to come back again and again to realize new ideas in this toy language, even when I'm capable of creating my projects in real programming languages years later. It's a friend that helped me to pursue programming and get me to enjoy its fruit. I'm certain many others who have walked this path as well have grown fond of its importance in their life.
mcnedj468
Scratcher
30 posts

How to receive JSON and project data ONLINE

PrincessPanda_test_ wrote:

Ever wanted to view JSON and project notes but couldn't download? You can view them ONLINE by using HTTP requests. It's isn't that hard! Just copy the links below!

http://projects.scratch.mit.edu/internalapi/project/ID HERE/get/
This fetches JSON file.

http://cdn.scratch.mit.edu/internalapi/asset/md5/get/
This fetches contents of a resource. Not sure how to deal with this….

http://scratch.mit.edu/api/v1/project/ID HERE/?format=json
This fetches creator's username, project notes, thumbnail, and statistics.

Examples
ScratchU8 Drawing by PrincessPandaLover
JSON File
Project Details

Animal Jam Jamaa Disaster by PrincessPandaLover
JSON File
Project Details

A Lack of Brakes by scratchU8
JSON File
Project Details

Scratchnapped by griffpatch
Project Details

Under construction…
Well, this no longer works. Scratch 3.0 broke it.
vineetsrivastava
Scratcher
1 post

How to receive JSON and project data ONLINE


Well, this no longer works. Scratch 3.0 broke it.

So is there any way we can access the JSON files for the Scratch 3.0 projects online? Thanks in advance
Gohoski
Scratcher
84 posts

How to receive JSON and project data ONLINE

vineetsrivastava wrote:

mcnedj468 wrote:

Well, this no longer works. Scratch 3.0 broke it.

So is there any way we can access the JSON files for the Scratch 3.0 projects online? Thanks in advance
Download the project file, then rename the extension for your SB3 file to ZIP. Open it, and you can just grab the “project.json” file!

f4f: Да/Yes
Осталось 20 постов и у меня будет 100 постов на форуме! / Need 20 more posts to get the 100 posts mark!
⬛⬛⬛⬛⬛⬛⬛⬜⬜⬜
⠀⠀⠀⠀⠀80%
Sheep_maker
Scratcher
1000+ posts

How to receive JSON and project data ONLINE

The new URLs for the Scratch 3.0 era:

- Sheep_maker This is a kumquat-free signature. :P
This, my signature, appears below all my posts. Discuss it on my profile, not the forums. Here's how to make your own.
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }
Boomer001
Scratcher
1000+ posts

How to receive JSON and project data ONLINE

Sheep_maker wrote:

The new URLs for the Scratch 3.0 era:

PrincessPanda_test_ wrote:

http://projects.scratch.mit.edu/internalapi/project/ID HERE/get/
This fetches JSON file.
This still works with Scratch 2 projects.

PrincessPanda_test_ wrote:

http://cdn.scratch.mit.edu/internalapi/asset/md5/get/
This fetches contents of a resource. Not sure how to deal with this….
This still works. It automatically redirects to cdn.assets.scratch.mit.edu.


???













(- ͜-) // This is mister sneaky. He projects my siggy against evil kumquats. 
// Do you see error 666 above? That was an evil kumquat. But mister sneaky turned him into error 666.
// His name is that because its at the bottom of my siggy; very sneaky...




















Be moist






















Powered by DjangoBB

Standard | Mobile