Difference between revisions of "Scratch"

From Archiveteam
Jump to navigation Jump to search
m (Add items repo)
 
Line 14: Line 14:


In May 2022, it was rumoured that unshared projects, previously accessible through the API and thereby with third-party client alternatives, would likely be made private soon.<ref>{{URL|https://docs.turbowarp.org/unshared-projects}}</ref>
In May 2022, it was rumoured that unshared projects, previously accessible through the API and thereby with third-party client alternatives, would likely be made private soon.<ref>{{URL|https://docs.turbowarp.org/unshared-projects}}</ref>
It is possible to download public projects through the API<ref>{{URL|https://github.com/forkphorus/sb-downloader}}</ref>.


== Technical details ==
== Technical details ==
Line 19: Line 21:
* API: projects.scratch.mit.edu
* API: projects.scratch.mit.edu
** <code><nowiki>https://projects.scratch.mit.edu/ID</nowiki></code> returns the data for a project. It can be either a JSON response with references to assets (hosted on assets.scratch.mit.edu) or, for old projects up to ID 3.8 million or so, a binary file that includes the assets. IDs are decimal and go to around 690 million as of late May 2022.
** <code><nowiki>https://projects.scratch.mit.edu/ID</nowiki></code> returns the data for a project. It can be either a JSON response with references to assets (hosted on assets.scratch.mit.edu) or, for old projects up to ID 3.8 million or so, a binary file that includes the assets. IDs are decimal and go to around 690 million as of late May 2022.
** Fetching a project file through the API will download the file in the contemporary format it was uploaded to the website (.sb, .sb2 for pre-Scratch 3 projects). This is unlike manually downloading a project through the website interface which automatically convert project files in .sb3.


== References ==
== References ==

Latest revision as of 19:04, 12 December 2024

Scratch is 'a high-level block-based visual programming language and website aimed primarily at children as an educational tool for programming'[1].

In May 2022, it was rumoured that unshared projects, previously accessible through the API and thereby with third-party client alternatives, would likely be made private soon.[2]

It is possible to download public projects through the API[3].

Technical details

  • Website (official client): https://scratch.mit.edu/[IAWcite.todayMemWeb]
  • API: projects.scratch.mit.edu
    • https://projects.scratch.mit.edu/ID returns the data for a project. It can be either a JSON response with references to assets (hosted on assets.scratch.mit.edu) or, for old projects up to ID 3.8 million or so, a binary file that includes the assets. IDs are decimal and go to around 690 million as of late May 2022.
    • Fetching a project file through the API will download the file in the contemporary format it was uploaded to the website (.sb, .sb2 for pre-Scratch 3 projects). This is unlike manually downloading a project through the website interface which automatically convert project files in .sb3.

References