IncompleteProject¶
A class that represents a project with less data than a Project object.
Properties¶
title : str
¶
The title of the project.
id : int
¶
The project ID of the project.
author : str
¶
The username of the project's creator.
thumbnail_URL : str
¶
The URL of the project's thumbnail.
An IncompleteProject
might have other attributes depending on where it came from:
type : Literal["project"]
¶
This is a string that is always "project"
. It only appears when returned from a call to ScratchSession.get_front_page
.
love_count : int
¶
The number of loves the project has. It only appears when returned from a call to ScratchSession.get_front_page
.
remixers_count : int
¶
The number of remixes the project has. It only appears in the "top_remixed"
and scratch_design_studio
items of the dictionary returned from a call to ScratchSession.get_front_page
.
curator_name : str
¶
The username of Scratch's current Front Page Curator. It only appears in the "curated"
item when returned from a call to ScratchSession.get_front_page
.
gallery_id : int
¶
The ID of Scratch's current Scratch Design Studio. It only appears in the "scratch_design_studio"
item when returned from a call to ScratchSession.get_front_page
.
gallery_title : str
¶
The title of Scratch's current Scratch Design Studio. It only appears in the "scratch_design_studio"
item when returned from a call to ScratchSession.get_front_page
.
creator_id : int
¶
The user ID of the project's creator. It only appears when returned from a call to Studio.get_projects
.
avatar : dict
¶
A dictionary containing different images with the author's avatar (profile picture). Contains the items "90x90"
, "60x60"
, "55x55"
, "50x50"
, and "32x32"
, either corresponding to a URL to a different size of the avatar. It only appears when returned from a call to Studio.get_projects
.
actor_id : int
¶
The user ID of the user who added the project to the studio. It only appears when returned from a call to Studio.get_projects
.
datetime_modified : str
¶
An ISO 8601 timestamp representing the date the project was last modified. It only appears when returned from a call to UserProfile.get_featured_project
.