To get the list of featured projects, use https://studio.code.org/api/v1/projects/gallery/public/all
I would recommend using the App Info Library I created to get a project's information. The Library ID is oQ0qav9kZ5aqCMP9_jfv6cyI2su7W6eR7H0GPlVjbtg
.
It only has one function: AppInfo.getInfo()
. It accepts two parameters: a channel ID as a string, and a callback function.
AppInfo.getInfo("channel_id", function (data) {
console.log(data);
});
The data
variable will contain the following information:
- Channel ID
- Project type
- Project name
- Thumbnail URL
- Creation date
- Time of last update
- The time it was last published
- Whether or not the project is frozen
- Whether or not the project is hidden
- Whether or not the project is featured
- The project's abuse score
- All of the project's files
- The total size of the project's files