Skip to content

Instantly share code, notes, and snippets.

View alessioC42's full-sized avatar
🏐
My precious code... we wants it, we needs it. Must commit, must push!

Alessio Caputo alessioC42

🏐
My precious code... we wants it, we needs it. Must commit, must push!
View GitHub Profile
@alessioC42
alessioC42 / sph_images_inverted.js
Created February 13, 2024 12:07
School Portal Hesse: compare all school images with the inverted image
const Jimp = require('jimp');
async function getSchools() {
let response = await fetch("https://startcache.schulportal.hessen.de/exporteur.php?a=schoollist");
let data = await response.json();
let result = [];
for (let i = 0; i < data.length; i++) {
for (let j = 0; j < data[i].Schulen.length; j++) {