/v1/search
Search shared projects
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/scratch-api/v1/search" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/scratch-api/v1/search", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/scratch-api/v1/search");
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/search",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"count": 20,
"query": "platformer",
"projects": [
{
"id": 14352503,
"url": "https://scratch.mit.edu/projects/14352503",
"image": "https://cdn2.scratch.mit.edu/get_image/project/14352503_480x360.png",
"loves": 27142,
"title": "Platformer",
"views": 1429349,
"author": "Semi99999",
"shared": "2018-01-19T06:43:48.000Z",
"created": "2013-11-15T23:10:01.000Z",
"remixes": 0,
"favorites": 22612,
"description": "Be sure to check out this project: https://scratch.mit.edu/projects/770694979/ ######################################## Sunday, May 21, 2023 hit a million views! Thanks everybody! Gone for over 4 months. I come back to 849 favorites and 1045 loves. Thank you all so much. I would never believe that I",
"instructions": "Click the flag, then use arrow keys to play! The Space key at the beginning and end does not work the blue stuff is bouncy use blue to get to the door! -Credits to another scratcher for the character."
},
{
"id": 103069687,
"url": "https://scratch.mit.edu/projects/103069687",
"image": "https://cdn2.scratch.mit.edu/get_image/project/103069687_480x360.png",
"loves": 46743,
"title": "Jumper (Platformer)",
"views": 2415727,
"author": "Depicklator",
"shared": "2016-03-26T15:53:18.000Z",
"created": "2016-03-25T20:22:55.000Z",
"remixes": 0,
"favorites": 40204,
"description": "Just want to say the highscore is broken, It's hard to explain but basically anyone (if they know how) can set the highscore to whatever they want, using a glitch in the editor, as far as i know i can't fix it as I don't think its a error in my coding, as its possible to do with many other projects.",
"instructions": null
},
{
"id": 853110869,
"url": "https://scratch.mit.edu/projects/853110869",
"image": "https://cdn2.scratch.mit.edu/get_image/project/853110869_480x360.png",
"loves": 14710,
"title": "PLATFORMER!!",
"views": 494841,
"author": "goriraf0612",
"shared": "2023-10-21T08:59:38.000Z",
"created": "2023-05-18T11:46:54.000Z",
"remixes": 0,
"favorites": 13270,
"description": null,
"instructions": "new!! :https://scratch.mit.edu/projects/943789916/ ✨PLATFORMER!!✨ ======《English》=============== (日本語は下の方) ▼summary It is a simple and slightly difficult platformer consisting only of ground, needles "
},
{
"id": 33593582
…