/projects APIReturns data related to Scratch projects.
GET /projects/<id>Gets metadata about the project. Returns a project object. If the project has not been shared, this endpoint requires authentication.
GET /projects/<id>/remixesGets a list of remixes of the project. Returns an array of project objects. Limited to 40 results per request, but returns 20 by default.
GET /projects/<id>/studiosGets a list of studios the project is added to. Returns an array of studio objects. Limited to 40 results per request, but returns 20 by default.
GET /projects/<id>/favorites/user/<username>Gets whether or not the project has been loved by the user. Requires authentication. Returns an object that looks like this:
{
"projectId": /* The ID of the project */
"userFavorite": /* True or false */
}
GET /projects/<id>/loves/user/<username>Gets whether or not the project has been loved by the user. Requires authentication. Returns an object that looks like this:
{
"projectId": /* The ID of the project */
"userLove": /* True or false */
}
GET /projects/count/allGets the total number of projects that have been shared on the Scratch site, in this format:
{
"count": /* Total number of projects shared */
}