I wanted live stuff too
I wanted live stuff too like weather, anime schedules, game deals and rocket launches, which all comes from free public APIs. I didn't want to deal with API keys, and I wanted each person's own browser asking instead of all the traffic coming from my site so I'm not spamming anyone.
Your browser asks them directly
When you look something up your browser asks the service directly. It never goes through LocalScriptBox so I never see what you searched, and every visitor counts toward their own limit instead of the whole site sharing one.
That only works if the API lets browsers ask it (that's CORS) and doesn't need a secret key, so a lot of making these was just testing which ones actually answer. Some of the popular ones don't so they couldn't go in.
try {
const v = JSON.parse(localStorage.getItem(PREFIX + key));
if (v && Date.now() - v.t < mins * 60000) return v.d;
} catch (e) {}Every answer gets saved in your browser with the time it came in, so if you ask the same thing again before it's too old you just get the saved one and the API never even hears about it. Each tool picks how long, place names keep for a week and rocket launches for an hour.
Not spamming them
Requests only happen when you press the button, not every time you type a letter. The rocket launch one only allows 15 requests an hour so it keeps answers for 60 minutes, and the trivia one wants one request every five seconds so the quiz just waits.
Some services don't want ads next to their data, so those pages say it right at the top and never load any. Every API page also warns you it needs internet and talks to an outside service, and the Data sources page lists every one with who runs it and what gets sent to it.
Weather ForecastThe green box is that warning. Open-Meteo's free plan is non commercial so there's no ads on this one.
The name
The category was almost called Live Data & Lookups lol, I just called it APIs.
Why Oct 31 jumps so much
39 of these went in on the same day, 23 and then 16 more, mostly anime and game ones cause those were what I was into. Once the helper code was there each one was quick so that day's a huge jump on the tool counter.