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)

PrincessPanda_test_
Scratcher
1000+ posts

How to receive JSON and project data ONLINE

Bump
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.
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.
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
100+ 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!
Sheep_maker
Scratcher
1000+ posts

How to receive JSON and project data ONLINE

The new URLs for the Scratch 3.0 era:
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.
NorthenSuperCoders
Scratcher
100+ posts

How to receive JSON and project data ONLINE

when green flag clicked
forever
say (join [Learn to ] []Code]Code[/code]])
end
nampinanathali
Scratcher
1000+ posts

How to receive JSON and project data ONLINE

NorthenSuperCoders wrote:

when green flag clicked
forever
say (join [Learn to ] []Code]Code[/code]])
end

bruh why spam this

Last edited by nampinanathali (July 9, 2021 18:43:57)

linearlemur
Scratcher
500+ posts

How to receive JSON and project data ONLINE

NorthenSuperCoders wrote:

when green flag clicked
forever
say (join [Learn to ] []Code]Code[/code]])
end

Don't necropost, asking to be closed.

(Necroposting is when you post on a topic in which the last post was 2 months ago or more).

Last edited by linearlemur (July 9, 2021 21:00:44)

Powered by DjangoBB