/v1/favorites
The projects a user has loved
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/scratch-api/v1/favorites" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/scratch-api/v1/favorites", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/scratch-api/v1/favorites");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/scratch-api/v1/favorites",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"count": 20,
"projects": [
{
"id": 1324126994,
"url": "https://scratch.mit.edu/projects/1324126994",
"image": "https://cdn2.scratch.mit.edu/get_image/project/1324126994_480x360.png",
"loves": 285,
"title": "Metroidvania Assets",
"views": 5112,
"author": null,
"shared": "2026-06-08T20:21:05.000Z",
"created": "2026-05-24T13:21:24.000Z",
"remixes": 0,
"favorites": 255,
"description": null,
"instructions": "Hello Fellow Scratchers! - Welcome to my latest Tutorial Series \"Moonleaf\" based on the classic Metroidvania scrolling adventure platformer Hollow Knight. We will be coding this up over the Summer in "
},
{
"id": 1261744463,
"url": "https://scratch.mit.edu/projects/1261744463",
"image": "https://cdn2.scratch.mit.edu/get_image/project/1261744463_480x360.png",
"loves": 3436,
"title": "Griffpatch: The Movie",
"views": 20365,
"author": null,
"shared": "2026-06-01T13:04:51.000Z",
"created": "2026-01-05T13:34:02.000Z",
"remixes": 0,
"favorites": 2989,
"description": "If Griffpatch's entire life was a movie... This is a trailer for Griffpatch: The Movie, a biopic that would tell the story of the most followed Scratcher - @griffpatch . (This isn't an actual movie. lol.) Version with subtitles: https://scratch.mit.edu/projects/1327821651 . Credit to @chris_on_scrat",
"instructions": null
},
{
"id": 1277343572,
"url": "https://scratch.mit.edu/projects/1277343572",
"image": "https://cdn2.scratch.mit.edu/get_image/project/1277343572_480x360.png",
"loves": 3659,
"title": "Portal Platformer Test v0.7c",
"views": 77263,
"author": null,
"shared": "2026-02-09T20:42:46.000Z",
"created": "2026-02-09T20:36:00.000Z",
"remixes": 0,
"favorites": 3144,
"description": "19 Feb 2026 - Oops, player to front lol - sorry 18 Feb 2026 - Big changes required to add scrolling - R & F let you place Red and Green portals 13 Feb 2026 - Added Rotation of player as they exit a portal - Fixed issue with two portals either side of thin wall - Prevent portals overlapping 12 Feb 20",
"instructions": "Version 0.7 is testing scrolling. This is a tricky undertaking mainly because of the situation of trying to correctly split movement on either side of a large scroll. I also am not sure I want the lev"
},
{
"id": 1233342581,
"url": "h
…